Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
834bdf46
Commit
834bdf46
authored
May 28, 2024
by
Timothy J. Baek
Browse files
refac
parent
cf1c8be8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/lib/components/admin/Settings/Pipelines.svelte
src/lib/components/admin/Settings/Pipelines.svelte
+6
-1
No files found.
src/lib/components/admin/Settings/Pipelines.svelte
View file @
834bdf46
...
...
@@ -38,6 +38,7 @@
if (res) {
toast.success('Valves updated successfully');
setPipelines();
saveHandler();
}
} else {
...
...
@@ -45,12 +46,16 @@
}
};
on
Mount(
async () => {
c
on
st setPipelines =
async () => {
pipelines = await getPipelines(localStorage.token);
if (pipelines.length > 0) {
selectedPipelineIdx = 0;
}
};
onMount(async () => {
setPipelines();
});
</script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment