mirror of
https://github.com/penpot/penpot.git
synced 2025-03-17 10:11:22 -05: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)))
|
||||
|
||||
(defn ^:export plugins []
|
||||
(when (not (features/active-feature? @st/state "plugins/runtime"))
|
||||
(plugins/init!))
|
||||
(tm/schedule-on-idle #(st/emit! (features/toggle-feature "plugins/runtime")))
|
||||
(st/emit! (features/enable-feature "plugins/runtime"))
|
||||
(plugins/init!)
|
||||
nil)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue