Show wash card in UserDashboard only in development mode using IS_DEV flag
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user