From 34836e374fccac297a6f0fa5f323f3609d0c9179 Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Wed, 13 Nov 2024 22:15:09 -0500 Subject: [PATCH] fix: only add enabled_logs when not empty --- src/gui/src/services/DebugService.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/src/services/DebugService.js b/src/gui/src/services/DebugService.js index a0de5ae5..696ea255 100644 --- a/src/gui/src/services/DebugService.js +++ b/src/gui/src/services/DebugService.js @@ -9,7 +9,10 @@ export class DebugService extends Service { const svc_exec = this.services.get('exec'); svc_exec.register_param_provider(() => { return { - enabled_logs: this.enabled_logs.join(';'), + ...(this.enabled_logs.length > 0 + ? { enabled_logs: this.enabled_logs.join(';') } + : {} + ), }; }); }