mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-22 05:49:33 +01:00
style: apply prettier to approvals-ui and server
This commit is contained in:
1 parent
f5e59283f9
commit
43568775e6
2 files changed
+2
-4
No files matched your search
@@ -264,8 +264,7 @@ Object.assign(CodemanApp.prototype, {
|
||||
} else if (item.answerInTerminal) {
|
||||
// Supervised-hook CLIs (DeepSeek Harness): keystrokes are unverifiable, so
|
||||
// Approve/Deny would hit the answer route and fail. Offer only Open session.
|
||||
actions =
|
||||
`<span class="approval-terminal-hint" data-i18n-skip>Answer in the terminal</span>`;
|
||||
actions = `<span class="approval-terminal-hint" data-i18n-skip>Answer in the terminal</span>`;
|
||||
} else if (item.options && item.options.length) {
|
||||
actions = item.options
|
||||
.map(
|
||||
|
||||
+1
-2
@@ -2747,8 +2747,7 @@ export class WebServer extends EventEmitter {
|
||||
// strips their action buttons — buttons without an id can never answer.
|
||||
approvalId: approvalsEnabled && typeof data.approvalId === 'string' ? data.approvalId : undefined,
|
||||
urgency: template.urgency,
|
||||
actions:
|
||||
approvalsEnabled && typeof data.approvalId === 'string' ? template.actions : undefined,
|
||||
actions: approvalsEnabled && typeof data.approvalId === 'string' ? template.actions : undefined,
|
||||
});
|
||||
|
||||
for (const sub of subscriptions) {
|
||||
|
||||
Reference in new issue
Block a user