fix(whiteboard): do not show the default mobile footer for whiteboard

This commit is contained in:
Peng Xiao
2022-11-10 00:44:02 +08:00
committed by Tienson Qin
parent 2047b86313
commit 2eb094ecea

View File

@@ -50,7 +50,8 @@
(rum/defc footer < rum/reactive
[]
(when (and (not (state/sub :editor/editing?))
(when (and (#{:page :home} (state/sub [:route-match :data :name]))
(not (state/sub :editor/editing?))
(state/sub :mobile/show-tabbar?)
(state/get-current-repo))
[:div.cp__footer.w-full.bottom-0.justify-between