mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 17:53:39 +00:00
PS-91 bug/mas hide update option (#1446)
* PS-91 - hide update option if MAS build * fix isMacAppStore
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 9950fb42a1...5070a783a7
@@ -42,7 +42,7 @@ export class AboutMenu implements IMenubarMenu {
|
|||||||
return {
|
return {
|
||||||
id: "checkForUpdates",
|
id: "checkForUpdates",
|
||||||
label: this.localize("checkForUpdates"),
|
label: this.localize("checkForUpdates"),
|
||||||
visible: !isWindowsStore() && !isSnapStore() && isMacAppStore() == undefined,
|
visible: !isWindowsStore() && !isSnapStore() && !isMacAppStore(),
|
||||||
click: () => this.checkForUpdate(),
|
click: () => this.checkForUpdate(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ export class FirstMenu {
|
|||||||
id: "checkForUpdates",
|
id: "checkForUpdates",
|
||||||
label: this.localize("checkForUpdates"),
|
label: this.localize("checkForUpdates"),
|
||||||
click: (menuItem) => this.checkForUpdate(menuItem),
|
click: (menuItem) => this.checkForUpdate(menuItem),
|
||||||
visible: isMacAppStore() == undefined && !isWindowsStore() && !isSnapStore(),
|
visible: !isMacAppStore() && !isWindowsStore() && !isSnapStore(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user