mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-10 03:27:57 +00:00
refac
This commit is contained in:
parent
1de3c63032
commit
7f5fc267f5
2 changed files with 5 additions and 0 deletions
|
|
@ -300,6 +300,7 @@
|
|||
bind:show={showImport}
|
||||
files={bundleFiles}
|
||||
onImported={async () => {
|
||||
toast.success($i18n.t('Skill imported successfully'));
|
||||
page = 1;
|
||||
await loadSkillItems();
|
||||
_skills.set(await getSkills(localStorage.token));
|
||||
|
|
|
|||
|
|
@ -613,6 +613,10 @@
|
|||
bind:this={codeEditor}
|
||||
bind:value
|
||||
filePath={selected}
|
||||
ariaLabel={selected === 'SKILL.md' ? $i18n.t('Skill Instructions') : selected}
|
||||
placeholder={selected === 'SKILL.md'
|
||||
? $i18n.t('Enter skill instructions in markdown...')
|
||||
: ''}
|
||||
{readOnly}
|
||||
onSave={async () => {
|
||||
flush();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue