mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-03 00:00: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);
|
const { error, data } = await api.labels.update(labelId.value, updateData);
|
||||||
|
|
||||||
if (error) {
|
if (error) {
|
||||||
|
updating.value = false;
|
||||||
toast.error("Failed to update label");
|
toast.error("Failed to update label");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,6 +68,7 @@
|
||||||
const { error, data } = await api.locations.update(locationId.value, updateData);
|
const { error, data } = await api.locations.update(locationId.value, updateData);
|
||||||
|
|
||||||
if (error) {
|
if (error) {
|
||||||
|
updating.value = false;
|
||||||
toast.error("Failed to update location");
|
toast.error("Failed to update location");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue