Skip to content

Commit dcad967

Browse files
committed
ui: fix command operation
1 parent f361ab0 commit dcad967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ui/app/pages/Commands.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function Commands() {
3636
onChange={(ev) => setCommand(ev.target.value)}
3737
/>
3838
<Group justify="center" my="md">
39-
<Button onClick={() => fetch('/commands', { method: 'POST', body: JSON.stringify({ command }) })}>Send</Button>
39+
<Button onClick={() => fetch('/commands', { method: 'POST', body: JSON.stringify({ command, operation: 'command' }) })}>Send</Button>
4040
</Group>
4141
<Divider my="md" />
4242
<Title order={3}>Quick Commands</Title>

0 commit comments

Comments
 (0)