fix: refresh the skill list used in chat after turning a skill on or off (#30966)

This commit is contained in:
G30 2026-09-25 23:26:19 -04:00 • committed by GitHub
parent 42cd4f0ec0
commit ffa6bb17cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -584,7 +584,8 @@
<Switch
bind:state={skill.is_active}
on:change={async () => {
toggleSkillById(localStorage.token, skill.id);
await toggleSkillById(localStorage.token, skill.id);
_skills.set(await getSkills(localStorage.token));
}}
/>
</Tooltip>