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:
@@ -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>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user