Skip to content

Commit 34836e3

Browse files
committed
fix: only add enabled_logs when not empty
1 parent caf8d2a commit 34836e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/gui/src/services/DebugService.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ export class DebugService extends Service {
99
const svc_exec = this.services.get('exec');
1010
svc_exec.register_param_provider(() => {
1111
return {
12-
enabled_logs: this.enabled_logs.join(';'),
12+
...(this.enabled_logs.length > 0
13+
? { enabled_logs: this.enabled_logs.join(';') }
14+
: {}
15+
),
1316
};
1417
});
1518
}

0 commit comments

Comments
 (0)