From 31ddb97530033c6cce997f97337499ee3b3b49e3 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 13 Apr 2018 21:23:11 -0400 Subject: [PATCH] sort current tab logins by last used --- src/popup/vault/current-tab.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/popup/vault/current-tab.component.ts b/src/popup/vault/current-tab.component.ts index c190d152ee..54f3e69675 100644 --- a/src/popup/vault/current-tab.component.ts +++ b/src/popup/vault/current-tab.component.ts @@ -195,7 +195,7 @@ export class CurrentTabComponent implements OnInit, OnDestroy { } }); + this.loginCiphers = this.loginCiphers.sort((a, b) => this.cipherService.sortCiphersByLastUsedThenName(a, b)); this.loaded = true; } - }