mirror of
https://github.com/penpot/penpot.git
synced 2025-05-23 08:06:12 +02:00
🐛 Fix wrong validation text after interaction with 2 and more files
This commit is contained in:
parent
a1c9503fea
commit
02382b95f6
4 changed files with 15 additions and 8 deletions
|
@ -81,12 +81,12 @@
|
|||
on-duplicate
|
||||
(fn [_]
|
||||
(apply st/emit! (map dd/duplicate-file files))
|
||||
(st/emit! (dm/success (tr "dashboard.success-duplicate-file"))))
|
||||
(st/emit! (dm/success (tr "dashboard.success-duplicate-file" (i18n/c (count files))))))
|
||||
|
||||
delete-fn
|
||||
(fn [_]
|
||||
(apply st/emit! (map dd/delete-file files))
|
||||
(st/emit! (dm/success (tr "dashboard.success-delete-file"))))
|
||||
(st/emit! (dm/success (tr "dashboard.success-delete-file" (i18n/c (count files))))))
|
||||
|
||||
on-delete
|
||||
(fn [event]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue