fix(vscode): hide remove button for built-in skills

This commit is contained in:
Alex Alecu
2026-04-14 19:34:13 +03:00
parent 0f196e7af6
commit a5c422e82f
@@ -835,10 +835,12 @@ const AgentBehaviourTab: Component = () => {
}}
>
<div>{skill.description}</div>
<div>{skill.location}</div>
{skill.location !== "builtin" && <div>{skill.location}</div>}
</div>
</div>
<IconButton size="small" variant="ghost" icon="close" onClick={() => confirmRemoveSkill(skill)} />
{skill.location !== "builtin" && (
<IconButton size="small" variant="ghost" icon="close" onClick={() => confirmRemoveSkill(skill)} />
)}
</div>
)}
</For>