From f2d9db74c2e48ed2b3ef53136a51986953ba4851 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Tue, 6 Jun 2023 19:08:41 -0700 Subject: [PATCH] fix: only show meili in metrics if available --- packages/client/src/widgets/server-metric/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/client/src/widgets/server-metric/index.vue b/packages/client/src/widgets/server-metric/index.vue index 1eb9f56b8..b44cca714 100644 --- a/packages/client/src/widgets/server-metric/index.vue +++ b/packages/client/src/widgets/server-metric/index.vue @@ -39,7 +39,7 @@ :meta="meta" /> @@ -67,6 +67,7 @@ import { GetFormResultType } from "@/scripts/form"; import * as os from "@/os"; import { stream } from "@/stream"; import { i18n } from "@/i18n"; +import { instance } from "@/instance"; const name = "serverMetric";