mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
context menu no matching logins fix
This commit is contained in:
@@ -540,13 +540,13 @@ export default class MainBackground {
|
|||||||
theText = ciphers.length.toString();
|
theText = ciphers.length.toString();
|
||||||
} else if (ciphers.length > 0) {
|
} else if (ciphers.length > 0) {
|
||||||
theText = '9+';
|
theText = '9+';
|
||||||
} else {
|
|
||||||
if (contextMenuEnabled) {
|
|
||||||
await this.loadNoLoginsContextMenuOptions(this.i18nService.t('noMatchingLogins'));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (contextMenuEnabled && ciphers.length === 0) {
|
||||||
|
await this.loadNoLoginsContextMenuOptions(this.i18nService.t('noMatchingLogins'));
|
||||||
|
}
|
||||||
|
|
||||||
this.sidebarActionSetBadgeText(theText, tabId);
|
this.sidebarActionSetBadgeText(theText, tabId);
|
||||||
this.browserActionSetBadgeText(theText, tabId);
|
this.browserActionSetBadgeText(theText, tabId);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user