mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-21 05:52:35 +08:00
fix(vscode): hide remove button for built-in skills
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user