{{ $t("location.tree.no_locations") }}
diff --git a/frontend/components/Maintenance/ListView.vue b/frontend/components/Maintenance/ListView.vue
index e91605509..da87230a1 100644
--- a/frontend/components/Maintenance/ListView.vue
+++ b/frontend/components/Maintenance/ListView.vue
@@ -25,17 +25,17 @@
},
});
- const { data: maintenanceDataList, refresh: refreshList } = useAsyncData(
+ const { data: maintenanceDataList, refresh: refreshList } = useAsyncData(
async () => {
const { data } =
props.currentItemId !== undefined
? await api.items.maintenance.getLog(props.currentItemId, { status: maintenanceFilterStatus.value })
: await api.maintenance.getAll({ status: maintenanceFilterStatus.value });
console.log(data);
- return data as MaintenanceEntryWithDetails[];
+ return data;
},
{
- watch: maintenanceFilterStatus,
+ watch: [maintenanceFilterStatus],
}
);
@@ -80,7 +80,7 @@