mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
Fix hint message on confirm dialog.
This commit is contained in:
parent
9e056709df
commit
4ef4185373
@ -14,7 +14,7 @@
|
||||
[uxbox.main.ui.lightbox :as lbx]))
|
||||
|
||||
(defn- confirm-dialog-render
|
||||
[own {:keys [on-accept on-cancel] :as ctx}]
|
||||
[own {:keys [on-accept on-cancel hint] :as ctx}]
|
||||
(letfn [(accept [event]
|
||||
(dom/prevent-default event)
|
||||
(udl/close!)
|
||||
@ -27,7 +27,8 @@
|
||||
(html
|
||||
[:div.lightbox-body.confirm-dialog
|
||||
[:h3 "Are you sure?"]
|
||||
[:span "You're going to delete __PAGENAME__"]
|
||||
(if hint
|
||||
[:span hint])
|
||||
[:div.row-flex
|
||||
[:input.btn-success.btn-small
|
||||
{:type "button"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user