diff --git a/frontend/packages/dashboard/src/tabs.js b/frontend/packages/dashboard/src/tabs.js index 3cb099e5..bfa66b06 100644 --- a/frontend/packages/dashboard/src/tabs.js +++ b/frontend/packages/dashboard/src/tabs.js @@ -283,7 +283,7 @@ window.marked = marked; // Single-agent POST helper shared by all menu items. async function agentMenuPost(actionPath, name, body, graceful) { - const url = actionPath + encodeURIComponent(name) + (graceful ? '?graceful=1' : ''); + const url = actionPath + encodeURIComponent(name) + (graceful ? '?graceful=true' : ''); try { const resp = await fetch(url, { method: 'POST', @@ -1208,7 +1208,7 @@ window.marked = marked; : new URLSearchParams(opts.body || {}); const url = opts.perAgentBodyFor ? opts.action - : opts.action + encodeURIComponent(name) + (graceful ? '?graceful=1' : ''); + : opts.action + encodeURIComponent(name) + (graceful ? '?graceful=true' : ''); try { const resp = await fetch(url, { method: 'POST',