mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 03:47:40 -07:00
fix: only show meili in metrics if available
This commit is contained in:
parent
dae4461402
commit
f2d9db74c2
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
:meta="meta"
|
:meta="meta"
|
||||||
/>
|
/>
|
||||||
<XMeili
|
<XMeili
|
||||||
v-else-if="widgetProps.view === 5"
|
v-else-if="instance.searchFilters && widgetProps.view === 5"
|
||||||
:connection="connection"
|
:connection="connection"
|
||||||
:meta="meta"
|
:meta="meta"
|
||||||
/>
|
/>
|
||||||
|
@ -67,6 +67,7 @@ import { GetFormResultType } from "@/scripts/form";
|
||||||
import * as os from "@/os";
|
import * as os from "@/os";
|
||||||
import { stream } from "@/stream";
|
import { stream } from "@/stream";
|
||||||
import { i18n } from "@/i18n";
|
import { i18n } from "@/i18n";
|
||||||
|
import { instance } from "@/instance";
|
||||||
|
|
||||||
const name = "serverMetric";
|
const name = "serverMetric";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue