mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-11 10:10:25 +01:00
[PM-11656] Inline menu updates with empty list of ciphers (#10891)
This commit is contained in:
parent
1a1d9e2d76
commit
2f69228c21
@ -139,7 +139,7 @@ export class OverlayBackground implements OverlayBackgroundInterface {
|
||||
this.triggerDestroyInlineMenuListeners(sender.tab, message.subFrameData.frameId),
|
||||
collectPageDetailsResponse: ({ message, sender }) => this.storePageDetails(message, sender),
|
||||
unlockCompleted: ({ message }) => this.unlockCompleted(message),
|
||||
doFullSync: () => this.updateOverlayCiphers(true),
|
||||
doFullSync: () => this.updateOverlayCiphers(),
|
||||
addedCipher: () => this.updateOverlayCiphers(),
|
||||
addEditCipherSubmitted: () => this.updateOverlayCiphers(),
|
||||
editedCipher: () => this.updateOverlayCiphers(),
|
||||
@ -272,7 +272,10 @@ export class OverlayBackground implements OverlayBackgroundInterface {
|
||||
this.closeInlineMenuAfterCiphersUpdate().catch((error) => this.logService.error(error));
|
||||
}
|
||||
|
||||
if (!currentTab) {
|
||||
if (!currentTab || !currentTab.url?.startsWith("http")) {
|
||||
if (updateAllCipherTypes) {
|
||||
this.cardAndIdentityCiphers = null;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user