diff options
author | 2022-08-17 21:58:48 +0200 | |
---|---|---|
committer | 2022-08-17 21:58:48 +0200 | |
commit | 51e256bff17bc45fb57191c1a7caf9bb2d21aeaa (patch) | |
tree | 49b16e063cce0ecb88a7431c1e11c31e63b6d962 /subprojects/frontend/src/editor/PanelStore.ts | |
parent | feat(frontend): custom search panel (diff) | |
download | refinery-51e256bff17bc45fb57191c1a7caf9bb2d21aeaa.tar.gz refinery-51e256bff17bc45fb57191c1a7caf9bb2d21aeaa.tar.zst refinery-51e256bff17bc45fb57191c1a7caf9bb2d21aeaa.zip |
fix(frontend): search panel fixes
Diffstat (limited to 'subprojects/frontend/src/editor/PanelStore.ts')
-rw-r--r-- | subprojects/frontend/src/editor/PanelStore.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/subprojects/frontend/src/editor/PanelStore.ts b/subprojects/frontend/src/editor/PanelStore.ts index 1af4ace1..e0e2b2f4 100644 --- a/subprojects/frontend/src/editor/PanelStore.ts +++ b/subprojects/frontend/src/editor/PanelStore.ts | |||
@@ -100,12 +100,6 @@ export default class PanelStore { | |||
100 | 100 | ||
101 | protected doClose(): void { | 101 | protected doClose(): void { |
102 | this.store.doCommand(this.closeCommand); | 102 | this.store.doCommand(this.closeCommand); |
103 | if (this.element === undefined) { | ||
104 | return; | ||
105 | } | ||
106 | if (this.store.view !== undefined) { | ||
107 | log.error('Failed to remove search panel from DOM'); | ||
108 | } | ||
109 | this.element = undefined; | 103 | this.element = undefined; |
110 | } | 104 | } |
111 | } | 105 | } |