This commit is contained in:
2021-04-15 19:12:36 +00:00
parent 171ae84f5b
commit 77ad603c03

View File

@@ -668,7 +668,7 @@ async function saveState(vm, err) {
//it's new so save it
let res = await window.$gz.api.upsert(`${API_BASE_URL}states`, o);
if (res.error) {
err.states.push(res.error);//only saves one at a time so no need for collection stuff here
err.states.push(res.error); //only saves one at a time so no need for collection stuff here
err.error = true;
} else {
vm.obj.states[i] = res.data;