mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 03:08:29 +02:00
✨ Changes name to typography collection
This commit is contained in:
parent
f45845cf85
commit
2c23b0e7f4
7 changed files with 20 additions and 20 deletions
|
@ -877,15 +877,15 @@
|
|||
|
||||
(defmethod process-change :add-typography
|
||||
[data {:keys [typography]}]
|
||||
(update data :typography assoc (:id typography) typography))
|
||||
(update data :typographies assoc (:id typography) typography))
|
||||
|
||||
(defmethod process-change :mod-typography
|
||||
[data {:keys [typography]}]
|
||||
(d/update-in-when data [:typography (:id typography)] merge typography))
|
||||
(d/update-in-when data [:typographies (:id typography)] merge typography))
|
||||
|
||||
(defmethod process-change :del-typography
|
||||
[data {:keys [id]}]
|
||||
(update data :typography dissoc id))
|
||||
(update data :typographies dissoc id))
|
||||
|
||||
;; -- Operations
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue