diff options
| author | bobzel <zzzman@gmail.com> | 2025-02-03 15:37:29 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-02-03 15:37:29 -0500 |
| commit | e8c1107aebd660872018c472ff5017d873e4b626 (patch) | |
| tree | a50ffaa25fff9a242b125304f699adf266a07913 /src/client/views/nodes/trails | |
| parent | deb038e6b659a1c7563ccc9df2ef51221c0492ea (diff) | |
fixed crash switching to tree view in pres
Diffstat (limited to 'src/client/views/nodes/trails')
| -rw-r--r-- | src/client/views/nodes/trails/PresBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx index 68634076d..e0de8e1fd 100644 --- a/src/client/views/nodes/trails/PresBox.tsx +++ b/src/client/views/nodes/trails/PresBox.tsx @@ -1806,7 +1806,7 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps>() { @computed get transitionDropdown() { const { activeItem } = this; // Retrieving spring timing properties - const timing = StrCast(activeItem.presentation_effectTiming); + const timing = StrCast(activeItem?.presentation_effectTiming); let timingConfig: SpringSettings | undefined; if (timing) { timingConfig = JSON.parse(timing); |
