1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-28 18:43:26 +00:00

[PM-31675] remove archive from web edit (#18764)

* refactor default cipher archive service, update archive/unarchive in vault-item-dialog, remove archive/unarchive items in edit form
This commit is contained in:
Jason Ng
2026-02-09 16:17:46 -05:00
committed by GitHub
parent e92817011b
commit 322ff6b70b
6 changed files with 66 additions and 60 deletions

View File

@@ -7,7 +7,7 @@
[backAction]="handleBackButton"
showBackButton
>
@if (config?.originalCipher?.archivedDate) {
@if (config?.originalCipher?.archivedDate && (archiveFlagEnabled$ | async)) {
<ng-container slot="end">
<span bitBadge variant="secondary" [appA11yTitle]="'archived' | i18n">
{{ "archived" | i18n }}

View File

@@ -1,7 +1,7 @@
<popup-page>
<popup-header slot="header" [pageTitle]="headerText" showBackButton>
<ng-container slot="end">
@if (cipher?.isArchived) {
@if (cipher?.isArchived && (archiveFlagEnabled$ | async)) {
<span bitBadge variant="secondary" [appA11yTitle]="'archived' | i18n">
{{ "archived" | i18n }}
</span>