mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-16 12:08:07 +01:00
🎨 Support for ignoring the prompt to add Microsoft Defender exclusions https://github.com/siyuan-note/siyuan/issues/13687
This commit is contained in:
parent
8061a4e133
commit
23570d79ca
13 changed files with 16 additions and 12 deletions
|
|
@ -15,6 +15,10 @@ export const processMessage = (response: IWebSocketData) => {
|
|||
hideMessage(id);
|
||||
});
|
||||
}, {once: true});
|
||||
document.querySelector("#message #ignoreAddMicrosoftDefenderExclusion")?.addEventListener("click", (event) => {
|
||||
hideMessage(id);
|
||||
fetchPost("/api/system/ignoreAddMicrosoftDefenderExclusion");
|
||||
}, {once: true});
|
||||
return false;
|
||||
}
|
||||
if ("cmsg" === response.cmd) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue