From 59865037db07dc6f3edaa33352bbcd2d7ab54bd7 Mon Sep 17 00:00:00 2001 From: Konstantinos Kaloutas Date: Wed, 26 Apr 2023 12:54:49 +0300 Subject: [PATCH] enhance: hide shortcuts --- src/main/frontend/components/shortcut.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/frontend/components/shortcut.cljs b/src/main/frontend/components/shortcut.cljs index 22358b8058..bc57ab7fb8 100644 --- a/src/main/frontend/components/shortcut.cljs +++ b/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)])