From e42e1e875162a62fae816a012d9575b4f7f53d75 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 16 Jun 2021 16:32:21 +0200 Subject: [PATCH] :bug: Properly preserve the font-family name on upload custom font. --- frontend/src/app/main/data/fonts.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/data/fonts.cljs b/frontend/src/app/main/data/fonts.cljs index 5acec3b8d..41ca36c9a 100644 --- a/frontend/src/app/main/data/fonts.cljs +++ b/frontend/src/app/main/data/fonts.cljs @@ -172,7 +172,7 @@ (uuid/next))] (update current-fonts id (fn [font] (-> font - (assoc :name name) + (assoc :font-family name) (assoc :font-id font-id)))))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;