1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 04:03:29 +00:00

Update to ensure that deleted items don't link anywhere

This commit is contained in:
cd-bitwarden
2025-06-27 16:29:04 -04:00
parent b7b4042ab0
commit 90d8a90ae7

View File

@@ -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;