From 894f57a4ce6dca201e9d7bc7a5bff2a08334884f Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 27 Mar 2026 18:02:42 +0000 Subject: [PATCH] style(ui): apply formatter output --- ui/src/ui/views/exec-approval.ts | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/ui/src/ui/views/exec-approval.ts b/ui/src/ui/views/exec-approval.ts index 0c530820f84..9ac7b4bec49 100644 --- a/ui/src/ui/views/exec-approval.ts +++ b/ui/src/ui/views/exec-approval.ts @@ -40,11 +40,13 @@ function renderExecBody(request: ExecApprovalRequestPayload) { function renderPluginBody(active: ExecApprovalRequest) { return html` - ${active.pluginDescription - ? html`
+    ${
+      active.pluginDescription
+        ? html`
 ${active.pluginDescription}
` - : nothing} + : nothing + }
${renderMetaRow("Severity", active.pluginSeverity)} ${renderMetaRow("Plugin", active.pluginId)} ${renderMetaRow("Agent", active.request.agentId)} @@ -81,9 +83,11 @@ export function renderExecApprovalPrompt(state: AppViewState) { }
${isPlugin ? renderPluginBody(active) : renderExecBody(request)} - ${state.execApprovalError - ? html`
${state.execApprovalError}
` - : nothing} + ${ + state.execApprovalError + ? html`
${state.execApprovalError}
` + : nothing + }