fix locked loading state issue

This commit is contained in:
Hayden 2023-10-06 21:14:10 -05:00
parent f771ccfb0f
commit fef9ab3998
No known key found for this signature in database
GPG key ID: 17CF79474E257545
2 changed files with 2 additions and 0 deletions

View file

@ -59,6 +59,7 @@
const { error, data } = await api.labels.update(labelId.value, updateData);
if (error) {
updating.value = false;
toast.error("Failed to update label");
return;
}

View file

@ -68,6 +68,7 @@
const { error, data } = await api.locations.update(locationId.value, updateData);
if (error) {
updating.value = false;
toast.error("Failed to update location");
return;
}