mirror of
https://github.com/penpot/penpot.git
synced 2026-07-22 22:17:58 +00:00
🐛 Fix close comments panel button does not work (#10651)
This commit is contained in:
parent
51c0129485
commit
a0b5c23f99
@ -11,6 +11,7 @@
|
||||
[app.main.data.event :as ev]
|
||||
[app.main.data.workspace :as dw]
|
||||
[app.main.data.workspace.comments :as dwcm]
|
||||
[app.main.data.workspace.drawing.common :as dwdc]
|
||||
[app.main.refs :as refs]
|
||||
[app.main.store :as st]
|
||||
[app.main.ui.comments :as cmt]
|
||||
@ -99,7 +100,8 @@
|
||||
(fn []
|
||||
(if from-viewer
|
||||
(st/emit! (dcmt/update-options {:show-sidebar? false}))
|
||||
(st/emit! (dw/clear-edition-mode)
|
||||
(st/emit! (dwdc/clear-drawing)
|
||||
(dw/clear-edition-mode)
|
||||
(dw/deselect-all true)))))
|
||||
|
||||
tgroups (->> threads
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user