mirror of
https://github.com/penpot/penpot.git
synced 2025-06-26 01:16:59 +02:00
🐛 Fix problem activating feature
This commit is contained in:
parent
3eabab7fc7
commit
6fbdc4ff07
1 changed files with 2 additions and 3 deletions
|
@ -26,8 +26,7 @@
|
||||||
(clj->js (features/get-team-enabled-features @st/state)))
|
(clj->js (features/get-team-enabled-features @st/state)))
|
||||||
|
|
||||||
(defn ^:export plugins []
|
(defn ^:export plugins []
|
||||||
(when (not (features/active-feature? @st/state "plugins/runtime"))
|
(st/emit! (features/enable-feature "plugins/runtime"))
|
||||||
(plugins/init!))
|
(plugins/init!)
|
||||||
(tm/schedule-on-idle #(st/emit! (features/toggle-feature "plugins/runtime")))
|
|
||||||
nil)
|
nil)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue