Changes name to typography collection

This commit is contained in:
alonso.torres 2020-10-02 11:06:52 +02:00 committed by Hirunatan
parent f45845cf85
commit 2c23b0e7f4
7 changed files with 20 additions and 20 deletions

View file

@ -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