Show wash card in UserDashboard only in development mode using IS_DEV flag

This commit is contained in:
Jeppe Bundgaard
2025-12-18 11:44:54 +01:00
parent 21b8324933
commit eb6863e4a8
+2 -1
View File
@@ -2,6 +2,7 @@
import SessionUser from "@/components/session/token/SessionUser.vue";
import WhiteBoxCard from "@/components/displays/boxes/WhiteBoxCard.vue";
import {ref, onMounted, nextTick, computed, onUnmounted} from "vue";
import { IS_DEV } from '@/main';
/**
* Make sure the height of the cards are equal
*/
@@ -101,7 +102,7 @@ const classes = computed(() => {
Velkommen {{ SessionUser.getName() }}
</span>
</div>
<div class="column is-half-desktop is-hidden-desktop is-12-tablet">
<div class="column is-half-desktop is-hidden-desktop is-12-tablet" v-show="IS_DEV">
<!-- Start wash card -->
<WhiteBoxCard :force-state="true" :defaultOpen="true" :toggleable="false" :loading="false">
<template #header>