mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
fix sort function ref
This commit is contained in:
parent
c27f5836bf
commit
cd7b38ecde
@ -384,7 +384,7 @@ export default class MainBackground {
|
|||||||
this.menuOptionsLoaded = [];
|
this.menuOptionsLoaded = [];
|
||||||
try {
|
try {
|
||||||
const ciphers = await this.cipherService.getAllDecryptedForUrl(url);
|
const ciphers = await this.cipherService.getAllDecryptedForUrl(url);
|
||||||
ciphers.sort(this.cipherService.sortCiphersByLastUsedThenName);
|
ciphers.sort((a, b) => this.cipherService.sortCiphersByLastUsedThenName(a, b));
|
||||||
|
|
||||||
if (contextMenuEnabled) {
|
if (contextMenuEnabled) {
|
||||||
ciphers.forEach((cipher) => {
|
ciphers.forEach((cipher) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user