Skip to content

Commit

Permalink
reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
Jicheng Lu committed Nov 22, 2024
1 parent d1718d5 commit eb7b1eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/page/agent/[agentId]/agent-utility.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
const found = innerUtilities.find((_, index) => index === uid);
if (!found) return;
found.disabled = e.target.checked;
found.disabled = !e.target.checked;
refresh(innerUtilities);
}
Expand Down Expand Up @@ -255,15 +255,15 @@
<div class="line-align-center">
<Input
type="checkbox"
checked={utility.disabled}
checked={!utility.disabled}
on:change={e => toggleUtility(e, uid)}
/>
</div>
<div
class="line-align-center"
data-bs-toggle="tooltip"
data-bs-placement="top"
title="Disable utility"
title="Uncheck to disable utility"
>
<i class="bx bx-info-circle" />
</div>
Expand Down

0 comments on commit eb7b1eb

Please sign in to comment.