mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 08:04:40 +00:00
fix: open whiteboards for beta
This commit is contained in:
committed by
Tienson Qin
parent
2bf07a3851
commit
561b16f522
@@ -194,12 +194,13 @@
|
||||
(or (alpha-user?) (beta-user?)))
|
||||
|
||||
(defonce feature-matrix {:file-sync :beta
|
||||
:whiteboard :alpha})
|
||||
:whiteboard :beta})
|
||||
|
||||
(defn feature-available?
|
||||
[feature]
|
||||
(when (logged-in?)
|
||||
(case (feature feature-matrix)
|
||||
:beta (alpha-or-beta-user?)
|
||||
:alpha (alpha-user?)
|
||||
false)))
|
||||
(or config/dev?
|
||||
(when (logged-in?)
|
||||
(case (feature feature-matrix)
|
||||
:beta (alpha-or-beta-user?)
|
||||
:alpha (alpha-user?)
|
||||
false))))
|
||||
|
||||
Reference in New Issue
Block a user