Skip to content

Commit

Permalink
fix: disable onboarding on demo graph
Browse files Browse the repository at this point in the history
  • Loading branch information
sprocketc authored and sallto committed Jan 31, 2023
1 parent 59d31d0 commit 9c4219f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/frontend/components/whiteboard.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
use-click-outside]]
[frontend.state :as state]
[frontend.storage :as storage]
[frontend.config :as config]
[frontend.ui :as ui]
[frontend.util :as util]
[promesa.core :as p]
Expand Down Expand Up @@ -300,6 +301,7 @@
[]
(when (and (user-handler/feature-available? :whiteboard)
(not (or (state/sub :whiteboard/onboarding-tour?)
(config/demo-graph?)
(util/mobile?))))
(state/pub-event! [:whiteboard/onboarding])
(state/set-state! [:whiteboard/onboarding-tour?] true)
Expand Down

0 comments on commit 9c4219f

Please sign in to comment.