From 90d8a90ae7f034141bdcbffd34a433353fd1b71b Mon Sep 17 00:00:00 2001 From: cd-bitwarden <106776772+cd-bitwarden@users.noreply.github.com> Date: Fri, 27 Jun 2025 16:29:04 -0400 Subject: [PATCH] Update to ensure that deleted items don't link anywhere --- apps/web/src/app/core/event.service.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/web/src/app/core/event.service.ts b/apps/web/src/app/core/event.service.ts index 2ac55617a1b..e8a82acab9d 100644 --- a/apps/web/src/app/core/event.service.ts +++ b/apps/web/src/app/core/event.service.ts @@ -668,6 +668,11 @@ export class EventService { return ids .map((secretId) => { const shortId = this.getShortId(secretId); + + if (ev.type == EventType.Secret_Deleted || ev.type == EventType.Secrets_Deleted_Bulk) { + return shortId; + } + const a = this.makeAnchor(shortId); a.setAttribute("href", `#/sm/${ev.organizationId}/secrets?search=${shortId}`); return a.outerHTML;