mirror of
https://github.com/purocean/yn.git
synced 2026-09-24 15:46:02 +08:00
feat: hidden previewer menu of status bar when opening help document
This commit is contained in:
@@ -9,7 +9,7 @@ export default {
|
||||
id: 'status-bar-previewer',
|
||||
position: 'right',
|
||||
title: ctx.i18n.t('previewer'),
|
||||
hidden: previewers.length < 1,
|
||||
hidden: previewers.length < 1 || ctx.store.state.currentFile?.repo === '__help__',
|
||||
list: previewers.map(item => ({
|
||||
id: item.name,
|
||||
type: 'normal' as any,
|
||||
|
||||
Reference in New Issue
Block a user