We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1718d5 commit eb7b1ebCopy full SHA for eb7b1eb
src/routes/page/agent/[agentId]/agent-utility.svelte
@@ -193,7 +193,7 @@
193
const found = innerUtilities.find((_, index) => index === uid);
194
if (!found) return;
195
196
- found.disabled = e.target.checked;
+ found.disabled = !e.target.checked;
197
refresh(innerUtilities);
198
}
199
@@ -255,15 +255,15 @@
255
<div class="line-align-center">
256
<Input
257
type="checkbox"
258
- checked={utility.disabled}
+ checked={!utility.disabled}
259
on:change={e => toggleUtility(e, uid)}
260
/>
261
</div>
262
<div
263
class="line-align-center"
264
data-bs-toggle="tooltip"
265
data-bs-placement="top"
266
- title="Disable utility"
+ title="Uncheck to disable utility"
267
>
268
<i class="bx bx-info-circle" />
269
0 commit comments