From febb64605a1864a0211b9230f663f1064086d148 Mon Sep 17 00:00:00 2001 From: Jason Ng Date: Wed, 4 Feb 2026 10:31:02 -0500 Subject: [PATCH] [PM-31400] skip MP reprompt when archive/unarchive in footer (#18678) --- .../src/vault/app/vault/item-footer.component.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/vault/app/vault/item-footer.component.ts b/apps/desktop/src/vault/app/vault/item-footer.component.ts index 8164a1f4a67..02c9873c295 100644 --- a/apps/desktop/src/vault/app/vault/item-footer.component.ts +++ b/apps/desktop/src/vault/app/vault/item-footer.component.ts @@ -229,12 +229,20 @@ export class ItemFooterComponent implements OnInit, OnChanges { } protected async archive() { - await this.archiveCipherUtilitiesService.archiveCipher(this.cipher); + /** + * When the Archive Button is used in the footer we can skip the reprompt since + * the user will have already passed the reprompt when they opened the item. + */ + await this.archiveCipherUtilitiesService.archiveCipher(this.cipher, true); this.onArchiveToggle.emit(); } protected async unarchive() { - await this.archiveCipherUtilitiesService.unarchiveCipher(this.cipher); + /** + * When the Unarchive Button is used in the footer we can skip the reprompt since + * the user will have already passed the reprompt when they opened the item. + */ + await this.archiveCipherUtilitiesService.unarchiveCipher(this.cipher, true); this.onArchiveToggle.emit(); }