"...resnet50_tensorflow.git" did not exist on "34ec75eca6ae81ebc738c35ac3a995f6f5cb3ba6"
Commit 044ee2a7 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: model list update after save

parent b7f3607f
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
const saveSettings = async (updated) => { const saveSettings = async (updated) => {
console.log(updated); console.log(updated);
await settings.set({ ...$settings, ...updated }); await settings.set({ ...$settings, ...updated });
await models.set(await getModels());
localStorage.setItem('settings', JSON.stringify($settings)); localStorage.setItem('settings', JSON.stringify($settings));
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment