mirror of
https://github.com/penpot/penpot.git
synced 2026-04-28 12:48:31 +00:00
🐛 Hide notification message when syncing a library
This commit is contained in:
parent
2cf15677cc
commit
e26ba1fabd
@ -104,9 +104,12 @@
|
||||
:timeout timeout})))
|
||||
|
||||
(defn info-dialog
|
||||
[content controls actions]
|
||||
(show {:content content
|
||||
:type :info
|
||||
:controls controls
|
||||
:actions actions}))
|
||||
([content controls actions]
|
||||
(info-dialog content controls actions nil))
|
||||
([content controls actions tag]
|
||||
(show {:content content
|
||||
:type :info
|
||||
:controls controls
|
||||
:actions actions
|
||||
:tag tag})))
|
||||
|
||||
|
||||
@ -461,6 +461,7 @@
|
||||
rchanges (d/concat rchanges1 rchanges2 rchanges3)
|
||||
uchanges (d/concat uchanges1 uchanges2 uchanges3)]
|
||||
(rx/concat
|
||||
(rx/of (dm/hide-tag :sync-dialog))
|
||||
(when rchanges
|
||||
(rx/of (dwc/commit-changes rchanges uchanges {:commit-local? true})))
|
||||
(when file-id
|
||||
@ -520,5 +521,6 @@
|
||||
[{:label (tr "workspace.updates.update")
|
||||
:callback do-update}
|
||||
{:label (tr "workspace.updates.dismiss")
|
||||
:callback do-dismiss}]))))))
|
||||
:callback do-dismiss}]
|
||||
:sync-dialog))))))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user