Konstantinos Kaloutas пре 2 година
родитељ
комит
59865037db
1 измењених фајлова са 1 додато и 1 уклоњено
  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/block-selection true)
    (shortcut-table :shortcut.category/formatting true)
    (shortcut-table :shortcut.category/formatting true)
    (shortcut-table :shortcut.category/toggle 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)])
    (shortcut-table :shortcut.category/others true)])