mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 06:41:38 +02:00
🐛 Set correctly the default features
This commit is contained in:
parent
f8bfe249aa
commit
64dc58c259
2 changed files with 4 additions and 5 deletions
|
@ -56,7 +56,9 @@
|
||||||
;; migrations process, so all features referenced in migrations should
|
;; migrations process, so all features referenced in migrations should
|
||||||
;; be here.
|
;; be here.
|
||||||
(def default-enabled-features
|
(def default-enabled-features
|
||||||
#{"fdata/shape-data-type"})
|
#{"fdata/shape-data-type"
|
||||||
|
"styles/v2"
|
||||||
|
"layout/grid"})
|
||||||
|
|
||||||
;; A set of features which only affects on frontend and can be enabled
|
;; A set of features which only affects on frontend and can be enabled
|
||||||
;; and disabled freely by the user any time. This features does not
|
;; and disabled freely by the user any time. This features does not
|
||||||
|
|
|
@ -12,8 +12,7 @@
|
||||||
(def default
|
(def default
|
||||||
"A common flags that affects both: backend and frontend."
|
"A common flags that affects both: backend and frontend."
|
||||||
[:enable-registration
|
[:enable-registration
|
||||||
:enable-login-with-password
|
:enable-login-with-password])
|
||||||
:enable-feature-styles-v2])
|
|
||||||
|
|
||||||
(defn parse
|
(defn parse
|
||||||
[& flags]
|
[& flags]
|
||||||
|
@ -34,5 +33,3 @@
|
||||||
|
|
||||||
:else
|
:else
|
||||||
(recur (rest flags) result)))))))
|
(recur (rest flags) result)))))))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue