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:
parent
5f6a76dfce
commit
3843253a5d
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue