mirror of
https://github.com/penpot/penpot.git
synced 2025-07-09 21:47:16 +02:00
✨ Remove key warning on import dialog
This commit is contained in:
parent
918d2ab4a9
commit
ada0938e27
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
(ns app.main.ui.dashboard.import
|
||||
(:require
|
||||
[app.common.data :as d]
|
||||
[app.common.data.macros :as dm]
|
||||
[app.common.logging :as log]
|
||||
[app.main.data.events :as ev]
|
||||
[app.main.data.modal :as modal]
|
||||
|
@ -340,6 +341,7 @@
|
|||
(let [editing? (and (some? (:file-id file))
|
||||
(= (:file-id file) (:editing @state)))]
|
||||
[:& import-entry {:state state
|
||||
:key (dm/str (:id file))
|
||||
:file file
|
||||
:editing? editing?
|
||||
:can-be-deleted? (> (count files) 1)}]))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue