style(ui): apply formatter output

This commit is contained in:
Peter Steinberger
2026-03-27 18:02:42 +00:00
parent 69e67a764d
commit 894f57a4ce

View File

@@ -40,11 +40,13 @@ function renderExecBody(request: ExecApprovalRequestPayload) {
function renderPluginBody(active: ExecApprovalRequest) {
return html`
${active.pluginDescription
? html`<pre class="exec-approval-command mono" style="white-space:pre-wrap">
${
active.pluginDescription
? html`<pre class="exec-approval-command mono" style="white-space:pre-wrap">
${active.pluginDescription}</pre
>`
: nothing}
: nothing
}
<div class="exec-approval-meta">
${renderMetaRow("Severity", active.pluginSeverity)}
${renderMetaRow("Plugin", active.pluginId)} ${renderMetaRow("Agent", active.request.agentId)}
@@ -81,9 +83,11 @@ export function renderExecApprovalPrompt(state: AppViewState) {
}
</div>
${isPlugin ? renderPluginBody(active) : renderExecBody(request)}
${state.execApprovalError
? html`<div class="exec-approval-error">${state.execApprovalError}</div>`
: nothing}
${
state.execApprovalError
? html`<div class="exec-approval-error">${state.execApprovalError}</div>`
: nothing
}
<div class="exec-approval-actions">
<button
class="btn primary"