diff options
author | bobzel <zzzman@gmail.com> | 2023-08-21 12:21:36 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-08-21 12:21:36 -0400 |
commit | bb11b2e0106ebd802e9ea4adc21f2891774ee634 (patch) | |
tree | 15bd807f2a6f29d070295f99c935df15c035bef6 /src/client/views/LightboxView.tsx | |
parent | eb35837e5ffe8e7eba9decea1fae5c163528dc1e (diff) | |
parent | f5ead5e05a7c93463a4887efc521de882a189cfc (diff) |
Merge branch 'master' into UI_Update_Eric_Ma
Diffstat (limited to 'src/client/views/LightboxView.tsx')
-rw-r--r-- | src/client/views/LightboxView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/LightboxView.tsx b/src/client/views/LightboxView.tsx index f79a30ad3..afb76b9ac 100644 --- a/src/client/views/LightboxView.tsx +++ b/src/client/views/LightboxView.tsx @@ -55,7 +55,7 @@ export class LightboxView extends React.Component<LightboxViewProps> { if (this._savedState.panY !== undefined) this.LightboxDoc._freeform_panY = this._savedState.panY; if (this._savedState.scrollTop !== undefined) this.LightboxDoc._layout_scrollTop = this._savedState.scrollTop; if (this._savedState.scale !== undefined) this.LightboxDoc._freeform_scale = this._savedState.scale; - this.LightboxDoc.layout_fieldKey = this._savedState.layout_fieldKey; + this.LightboxDoc.layout_fieldKey = this._savedState.layout_fieldKey ? this._savedState.layout_fieldKey : undefined; } if (!doc) { this._childFilters && (this._childFilters.length = 0); |