fix: edit

This commit is contained in:
Timothy J. Baek 2024-05-31 13:35:47 -07:00
parent cb8c45d864
commit 92700302b9

View File

@ -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;