mirror of
https://github.com/bitwarden/browser
synced 2025-01-21 08:47:52 +01:00
context menu no matching logins fix
This commit is contained in:
parent
518722c781
commit
c7040231e5
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user