mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
fix sortUriMatch
This commit is contained in:
@@ -143,7 +143,7 @@ export class CurrentController {
|
||||
|
||||
private sortUriMatch(cipher: any) {
|
||||
// exact matches should sort earlier.
|
||||
return this.url && this.url.startsWith(cipher.uri) ? 0 : 1;
|
||||
return cipher.login && cipher.login.uri && this.url && this.url.startsWith(cipher.login.uri) ? 0 : 1;
|
||||
}
|
||||
|
||||
private sortLastUsed(cipher: any) {
|
||||
|
||||
Reference in New Issue
Block a user