mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-02 15:50:27 +00:00
fix locked loading state issue
This commit is contained in:
parent
f771ccfb0f
commit
fef9ab3998
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue