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
92700302
Commit
92700302
authored
May 31, 2024
by
Timothy J. Baek
Browse files
fix: edit
parent
cb8c45d8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/routes/(app)/workspace/models/edit/+page.svelte
src/routes/(app)/workspace/models/edit/+page.svelte
+1
-1
No files found.
src/routes/(app)/workspace/models/edit/+page.svelte
View file @
92700302
...
...
@@ -70,9 +70,9 @@
const
res
=
await
updateModelById
(
localStorage
.
token
,
info
.
id
,
info
);
if
(
res
)
{
await
models
.
set
(
await
getModels
(
localStorage
.
token
));
toast
.
success
(
'Model updated successfully'
);
await
goto
(
'/workspace/models'
);
await
models
.
set
(
await
getModels
(
localStorage
.
token
));
}
loading
=
false
;
...
...
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