mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
Fix hint message on confirm dialog.
This commit is contained in:
parent
9e056709df
commit
4ef4185373
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue