0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

Dont render starting slash

This commit is contained in:
Florian Schroedl 2024-09-26 15:27:16 +02:00
parent 5f6a76dfce
commit 3843253a5d

View file

@ -66,8 +66,9 @@
;; Data
current-label (cond
(> active-themes-count 1) (str active-themes-count " themes active")
(= active-themes-count 1) (some-> (first active-theme-paths)
(str/replace "/" " / "))
(= active-themes-count 1) (some->> (first active-theme-paths)
(ctob/split-token-theme-path)
(str/join " / "))
:else "No theme active")
;; State