fix sort function ref

This commit is contained in:
Kyle Spearrin 2018-03-02 12:43:12 -05:00
parent c27f5836bf
commit cd7b38ecde
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {