Loading...
{{ error.type }}
@@ -14,9 +14,14 @@ import DiagnosticsService from "@/services/diagnostics-service";
const errors = ref
(undefined);
+const emits = defineEmits<{
+ loaded: [];
+}>();
+
function load() {
DiagnosticsService.errors().then((response) => {
errors.value = response.data;
+ emits("loaded");
});
}
diff --git a/resources/js/components/diagnostics/InfoDiagnostics.vue b/resources/js/components/diagnostics/InfoDiagnostics.vue
index 4e1e3a3991..684143ca03 100644
--- a/resources/js/components/diagnostics/InfoDiagnostics.vue
+++ b/resources/js/components/diagnostics/InfoDiagnostics.vue
@@ -1,6 +1,6 @@
- {{ info }}
+ {{ info }}
@@ -10,10 +10,14 @@ import Panel from "primevue/panel";
import DiagnosticsService from "@/services/diagnostics-service";
const infos = ref(undefined);
+const emits = defineEmits<{
+ loaded: [];
+}>();
function load() {
DiagnosticsService.info().then((response) => {
infos.value = response.data;
+ emits("loaded");
});
}
diff --git a/resources/js/views/Diagnostics.vue b/resources/js/views/Diagnostics.vue
index 7653515f13..f3ec1cc1e2 100644
--- a/resources/js/views/Diagnostics.vue
+++ b/resources/js/views/Diagnostics.vue
@@ -2,23 +2,23 @@
-
{{ $t("lychee.DIAGNOSTICS") }}
-
+
+
+
-
-
+
+
-
+
diff --git a/resources/js/views/Error.vue b/resources/js/views/Error.vue
index fb17546c72..eb47a146c8 100644
--- a/resources/js/views/Error.vue
+++ b/resources/js/views/Error.vue
@@ -34,7 +34,7 @@