Fix type error.
This commit is contained in:
parent
cce665d149
commit
ac7f8c98b0
|
@ -1,6 +1,7 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import StatisticsCard from "@/components/admin/StatisticsCard.vue";
|
import StatisticsCard from "@/components/admin/StatisticsCard.vue";
|
||||||
import { useStatisticsStore } from "@/stores/statistics";
|
import {useStatisticsStore} from "@/stores/statistics";
|
||||||
|
import {MonitoringState} from "@/types";
|
||||||
|
|
||||||
const statistics = useStatisticsStore();
|
const statistics = useStatisticsStore();
|
||||||
|
|
||||||
|
@ -45,7 +46,7 @@ refresh();
|
||||||
variant="success"
|
variant="success"
|
||||||
:value="statistics.getStatistics.nodes.monitoring.active"
|
:value="statistics.getStatistics.nodes.monitoring.active"
|
||||||
link="/admin/nodes"
|
link="/admin/nodes"
|
||||||
:filter="{monitoringState: 'active'}"
|
:filter="{monitoringState: MonitoringState.ACTIVE}"
|
||||||
/>
|
/>
|
||||||
<StatisticsCard
|
<StatisticsCard
|
||||||
title="Monitoring noch nicht bestätigt"
|
title="Monitoring noch nicht bestätigt"
|
||||||
|
@ -53,7 +54,7 @@ refresh();
|
||||||
variant="danger"
|
variant="danger"
|
||||||
:value="statistics.getStatistics.nodes.monitoring.pending"
|
:value="statistics.getStatistics.nodes.monitoring.pending"
|
||||||
link="/admin/nodes"
|
link="/admin/nodes"
|
||||||
:filter="{monitoringState: 'pending'}"
|
:filter="{monitoringState: MonitoringState.PENDING}"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue