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,
|
||||
gitService: Pick<IGitService, 'commitAndSync'>,
|
||||
aiEnabled: boolean,
|
||||
isOnline: boolean = true,
|
||||
userInfo: IGitUserInfos | undefined = undefined,
|
||||
isOnline: boolean,
|
||||
userInfo: IGitUserInfos | undefined,
|
||||
_useDeferred: boolean = true,
|
||||
): DeferredMenuItemConstructorOptions[] | import('electron').MenuItemConstructorOptions[] {
|
||||
if (!isWikiWorkspace(workspace) || !workspace.gitUrl) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue