🐛 Fix features handling on viewer

This commit is contained in:
Andrey Antukh 2023-11-16 14:09:09 +01:00 committed by Andrés Moya
parent ef9c95a0a6
commit 2e927d5640
5 changed files with 24 additions and 12 deletions

View file

@ -119,7 +119,8 @@
app.config/config config
app.loggers.audit/submit! (constantly nil)
app.auth/derive-password identity
app.auth/verify-password (fn [a b] {:valid (= a b)})]
app.auth/verify-password (fn [a b] {:valid (= a b)})
app.common.features/get-enabled-features (fn [& _] app.common.features/supported-features)]
(let [templates [{:id "test"
:name "test"