mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
fix sort function ref
This commit is contained in:
@@ -384,7 +384,7 @@ export default class MainBackground {
|
||||
this.menuOptionsLoaded = [];
|
||||
try {
|
||||
const ciphers = await this.cipherService.getAllDecryptedForUrl(url);
|
||||
ciphers.sort(this.cipherService.sortCiphersByLastUsedThenName);
|
||||
ciphers.sort((a, b) => this.cipherService.sortCiphersByLastUsedThenName(a, b));
|
||||
|
||||
if (contextMenuEnabled) {
|
||||
ciphers.forEach((cipher) => {
|
||||
|
||||
Reference in New Issue
Block a user