This commit is contained in:
Timothy Jaeryang Baek
2026-02-21 15:35:34 -06:00
parent c114fd6876
commit 631e30e22d
26 changed files with 177 additions and 164 deletions
+3 -2
View File
@@ -399,7 +399,6 @@
<div class="text-xs overflow-hidden text-ellipsis line-clamp-1 text-gray-500">
/{prompt.command}
</div>
</div>
{#if !prompt.write_access}
<Badge type="muted" content={$i18n.t('Read Only')} />
@@ -488,7 +487,9 @@
</PromptMenu>
<button on:click|stopPropagation|preventDefault>
<Tooltip content={prompt.is_active !== false ? $i18n.t('Enabled') : $i18n.t('Disabled')}>
<Tooltip
content={prompt.is_active !== false ? $i18n.t('Enabled') : $i18n.t('Disabled')}
>
<Switch
bind:state={prompt.is_active}
on:change={async () => {
+3 -5
View File
@@ -218,11 +218,9 @@
const items = Array.isArray(parsedSkills) ? parsedSkills : [parsedSkills];
for (const skill of items) {
await createNewSkill(localStorage.token, skill).catch(
(error) => {
toast.error(`${error}`);
}
);
await createNewSkill(localStorage.token, skill).catch((error) => {
toast.error(`${error}`);
});
}
toast.success($i18n.t('Skill imported successfully'));