diff --git a/frontend/pages/label/[id].vue b/frontend/pages/label/[id].vue index c880f93..f7235f0 100644 --- a/frontend/pages/label/[id].vue +++ b/frontend/pages/label/[id].vue @@ -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; } diff --git a/frontend/pages/location/[id].vue b/frontend/pages/location/[id].vue index a549acc..fd98085 100644 --- a/frontend/pages/location/[id].vue +++ b/frontend/pages/location/[id].vue @@ -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; }