Create feature for plugins

This commit is contained in:
alonso.torres 2024-04-18 16:41:43 +02:00 committed by Andrey Antukh
parent d7324b2e98
commit 7b508f2803
4 changed files with 38 additions and 5 deletions

View file

@ -23,3 +23,8 @@
(defn ^:export get-team-enabled []
(clj->js (features/get-team-enabled-features @st/state)))
(defn ^:export plugins []
(tm/schedule-on-idle #(st/emit! (features/toggle-feature "plugins/runtime")))
nil)