Kaynağa Gözat

enhance: hide shortcuts

Konstantinos Kaloutas 2 yıl önce
ebeveyn
işleme
59865037db
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/main/frontend/components/shortcut.cljs

+ 1 - 1
src/main/frontend/components/shortcut.cljs

@@ -181,5 +181,5 @@
    (shortcut-table :shortcut.category/block-selection true)
    (shortcut-table :shortcut.category/formatting true)
    (shortcut-table :shortcut.category/toggle true)
-   (shortcut-table :shortcut.category/whiteboard true)
+   (when (state/enable-whiteboards?) (shortcut-table :shortcut.category/whiteboard true))
    (shortcut-table :shortcut.category/others true)])