diff --git a/assets/components/LogViewer/LogAnalytics.vue b/assets/components/LogViewer/LogAnalytics.vue index 0d8a02cf..31726cc8 100644 --- a/assets/components/LogViewer/LogAnalytics.vue +++ b/assets/components/LogViewer/LogAnalytics.vue @@ -11,11 +11,11 @@
- {{ error }} + {{ error }} {{ $t("analytics.creating_table") }} {{ $t("analytics.downloading", { size: formatBytes(bytes, { decimals: 1 }) }) @@ -45,7 +45,7 @@ const error = ref(null); const debouncedQuery = debouncedRef(query, 500); const evaluating = ref(false); const pageLimit = 1000; -const state = ref<"downloading" | "error" | "ready" | "initializing">("downloading"); +const state = ref<"downloading" | "ready" | "initializing">("downloading"); const bytes = ref(0); const url = withBase( @@ -96,7 +96,6 @@ onMounted(async () => { state.value = "ready"; } catch (e) { console.error(e); - state.value = "error"; if (e instanceof Error) { error.value = e.message; } @@ -115,7 +114,6 @@ const results = computedAsync( { onError: (e) => { console.error(e); - state.value = "error"; if (e instanceof Error) { error.value = e.message; }