1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-31 00:33:33 +00:00

[PM-30249] - allow org ciphers to be archived (#18214)

* allow org ciphers to be archived

* fix title in item footer unarchive
This commit is contained in:
Jordan Aasen
2026-01-05 15:18:00 -08:00
committed by GitHub
parent 86764d807a
commit 1cb5d5ce7a
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@
type="button"
*ngIf="showUnarchiveButton"
(click)="unarchive()"
appA11yTitle="{{ 'unarchive' | i18n }}"
appA11yTitle="{{ 'unArchive' | i18n }}"
>
<i class="bwi bwi-unarchive bwi-lg bwi-fw" aria-hidden="true"></i>
</button>

View File

@@ -218,7 +218,7 @@ export class ItemFooterComponent implements OnInit, OnChanges {
}
private async checkArchiveState() {
const cipherCanBeArchived = !this.cipher.isDeleted && this.cipher.organizationId == null;
const cipherCanBeArchived = !this.cipher.isDeleted;
const [userCanArchive, hasArchiveFlagEnabled] = await firstValueFrom(
this.accountService.activeAccount$.pipe(
getUserId,