fix: kepp the favorites item when publishing

pull/6085/head^2
maxweilun1989 2022-08-03 21:01:23 +08:00 committed by Andelf
parent 5c22682fa2
commit 65e9e9915f
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@
:active (and (not srs-open?) (= route-name :all-pages)) :active (and (not srs-open?) (= route-name :all-pages))
:icon "files"})]] :icon "files"})]]
(when (and left-sidebar-open? (not config/publishing?)) (favorites t)) (when left-sidebar-open? (favorites t))
(when (and left-sidebar-open? (not config/publishing?)) (recent-pages t)) (when (and left-sidebar-open? (not config/publishing?)) (recent-pages t))