mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
Update menuItems.ts
This commit is contained in:
parent
9ef6fdbb34
commit
edce315203
1 changed files with 2 additions and 2 deletions
|
|
@ -156,8 +156,8 @@ export function createSyncMenuItems(
|
||||||
t: TFunction,
|
t: TFunction,
|
||||||
gitService: Pick<IGitService, 'commitAndSync'>,
|
gitService: Pick<IGitService, 'commitAndSync'>,
|
||||||
aiEnabled: boolean,
|
aiEnabled: boolean,
|
||||||
isOnline: boolean = true,
|
isOnline: boolean,
|
||||||
userInfo: IGitUserInfos | undefined = undefined,
|
userInfo: IGitUserInfos | undefined,
|
||||||
_useDeferred: boolean = true,
|
_useDeferred: boolean = true,
|
||||||
): DeferredMenuItemConstructorOptions[] | import('electron').MenuItemConstructorOptions[] {
|
): DeferredMenuItemConstructorOptions[] | import('electron').MenuItemConstructorOptions[] {
|
||||||
if (!isWikiWorkspace(workspace) || !workspace.gitUrl) {
|
if (!isWikiWorkspace(workspace) || !workspace.gitUrl) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue