diff --git a/apps/cli/src/commands/list.command.ts b/apps/cli/src/commands/list.command.ts index 49527f6bf78..e5174f67913 100644 --- a/apps/cli/src/commands/list.command.ts +++ b/apps/cli/src/commands/list.command.ts @@ -304,14 +304,14 @@ export class ListCommand { } /** - * Checks if the cipher passes either the trash or the archive options. - * @returns true if the cipher passes *any* of the filters + * Checks if the cipher passes the state filter options. + * @returns true if the cipher matches the requested state */ private matchesStateOptions(c: CipherView, options: Options): boolean { - const passesTrashFilter = options.trash && c.isDeleted; - const passesArchivedFilter = options.archived && c.isArchived; + const passesTrashFilter = options.trash === c.isDeleted; + const passesArchivedFilter = options.archived === c.isArchived; - return passesTrashFilter || passesArchivedFilter; + return passesTrashFilter && passesArchivedFilter; } } diff --git a/apps/desktop/src/app/accounts/settings.component.html b/apps/desktop/src/app/accounts/settings.component.html index a0380a8b5ce..7fdca9ff29b 100644 --- a/apps/desktop/src/app/accounts/settings.component.html +++ b/apps/desktop/src/app/accounts/settings.component.html @@ -351,13 +351,15 @@ {{ "important" | i18n }} {{ "enableAutotypeDescriptionTransitionKey" | i18n }} - {{ "editShortcut" | i18n }} -