style: apply oxfmt drift

This commit is contained in:
Peter Steinberger
2026-03-28 02:54:38 +00:00
parent 67d0ecf5ec
commit 024f2cf6e6
4 changed files with 13 additions and 26 deletions

View File

@@ -40,13 +40,11 @@ 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)}
@@ -76,18 +74,14 @@ export function renderExecApprovalPrompt(state: AppViewState) {
<div class="exec-approval-title">${title}</div>
<div class="exec-approval-sub">${remaining}</div>
</div>
${
queueCount > 1
? html`<div class="exec-approval-queue">${queueCount} pending</div>`
: nothing
}
${queueCount > 1
? html`<div class="exec-approval-queue">${queueCount} pending</div>`
: nothing}
</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"