[PM-31072] If Archive Item is in Trash, remove Unarchive button (#18481)

This commit is contained in:
Jason Ng 2026-01-23 11:30:31 -05:00 committed by GitHub
parent f57cb83d46
commit 47b574dbc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,7 @@
@if (showActionButtons) {
<div class="tw-ml-auto">
@if ((userCanArchive$ | async) && !params.isAdminConsoleAction) {
@if (isCipherArchived) {
@if (isCipherArchived && !cipher?.isDeleted) {
<button
type="button"
class="tw-mr-1"