mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-02-22 08:00:49 -08:00
fix: open wiki don't have name
This commit is contained in:
parent
e18c90ee9a
commit
fd79ce4b7e
1 changed files with 1 additions and 1 deletions
|
|
@ -408,7 +408,7 @@ export class MenuService implements IMenuService {
|
|||
label: i18n.t('WorkspaceSelector.OpenWorkspaceMenuName'),
|
||||
submenu: workspaces.map((workspace) => ({
|
||||
label: i18n.t('WorkspaceSelector.OpenWorkspaceTagTiddler', {
|
||||
tagName: workspace.tagName ?? (workspace.isSubWiki ? workspace.name : i18n.t('WorkspaceSelector.DefaultTiddlers')),
|
||||
tagName: workspace.tagName ?? (workspace.isSubWiki ? workspace.name : `${workspace.name} ${i18n.t('WorkspaceSelector.DefaultTiddlers')}`),
|
||||
}),
|
||||
click: async () => {
|
||||
await openWorkspaceTagTiddler(workspace, services);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue