mirror of
https://github.com/bitwarden/browser.git
synced 2024-08-21 22:23:52 +02:00
PS-91 bug/mas hide update option (#1446)
* PS-91 - hide update option if MAS build * fix isMacAppStore
This commit is contained in:
parent
6555312034
commit
d2a7012d3f
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit 9950fb42a15bad434a4b404419ff4a87af67a27b
|
||||
Subproject commit 5070a783a7730bcf7a0e4bf726c2e41d1b41cf2d
|
|
@ -42,7 +42,7 @@ export class AboutMenu implements IMenubarMenu {
|
|||
return {
|
||||
id: "checkForUpdates",
|
||||
label: this.localize("checkForUpdates"),
|
||||
visible: !isWindowsStore() && !isSnapStore() && isMacAppStore() == undefined,
|
||||
visible: !isWindowsStore() && !isSnapStore() && !isMacAppStore(),
|
||||
click: () => this.checkForUpdate(),
|
||||
};
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ export class FirstMenu {
|
|||
id: "checkForUpdates",
|
||||
label: this.localize("checkForUpdates"),
|
||||
click: (menuItem) => this.checkForUpdate(menuItem),
|
||||
visible: isMacAppStore() == undefined && !isWindowsStore() && !isSnapStore(),
|
||||
visible: !isMacAppStore() && !isWindowsStore() && !isSnapStore(),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user