mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 00:48:28 +02:00
🎉 Allow to ignore updates, and do it later in libraries dialog
This commit is contained in:
parent
ae61ce05c9
commit
9873ac9104
11 changed files with 277 additions and 100 deletions
|
@ -182,6 +182,13 @@
|
|||
(assoc m key (apply f found args))
|
||||
m)))
|
||||
|
||||
(defn assoc-in-when
|
||||
[m key-seq v]
|
||||
(let [found (get-in m key-seq sentinel)]
|
||||
(if-not (identical? sentinel found)
|
||||
(assoc-in m key-seq v)
|
||||
m)))
|
||||
|
||||
(defn assoc-when
|
||||
[m key v]
|
||||
(let [found (get m key sentinel)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue