From 2e53fb217a0e870359b48a1f2324f3f5cf30d7ec Mon Sep 17 00:00:00 2001 From: TrainDoctor Date: Sun, 29 Jan 2023 13:32:58 -0800 Subject: Add better handling for unloading of plugins --- frontend/src/plugin-loader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend') diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index 7215b49a..1a788a5b 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -335,7 +335,7 @@ class PluginLoader extends Logger { fetchNoCors(url: string, request: any = {}) { let args = { method: 'POST', headers: {} }; const req = { ...args, ...request, url, data: request.body }; - req?.body && delete req.body + req?.body && delete req.body; return this.callServerMethod('http_request', req); }, executeInTab(tab: string, runAsync: boolean, code: string) { -- cgit v1.2.3