From 23d59b634ba8d4dcdbd3ddc1664918a52d2c51ec 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";