瀏覽代碼

fix: disable on mobile

Konstantinos Kaloutas 3 年之前
父節點
當前提交
602f2f5a67
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/frontend/components/whiteboard.cljs

+ 2 - 1
src/main/frontend/components/whiteboard.cljs

@@ -300,7 +300,8 @@
   []
   (when (and (user-handler/feature-available? :whiteboard)
              (not (or (state/sub :whiteboard/onboarding?)
-                      (state/enable-whiteboards?))))
+                      (state/enable-whiteboards?)
+                      (util/mobile?))))
     (state/pub-event! [:whiteboard/onboarding])
     (state/set-state! [:whiteboard/onboarding?] true)
     (storage/set :whiteboard-onboarding? true)))