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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user