Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
<template>
<router-view />
- <Container id="action-container">
+ <Container v-show="$route.path !== '/'" id="action-container">
<router-view name="action" />
</Container>
</template>
<h1 id="action">Action</h1>
<h2>Add Charging Stations</h2>
<p>Template:</p>
- <select v-if="state.ready" v-model="state.template">
+ <select v-show="state.ready" v-model="state.template">
<option disabled value="">Please select a template</option>
<option v-for="template in app?.appContext.config.globalProperties.$templates">
{{ template }}
/>
</Container>
<CSTable
- v-if="
+ v-show="
Array.isArray(app?.appContext.config.globalProperties.$chargingStations) &&
app?.appContext.config.globalProperties.$chargingStations.length > 0
"
#charging-stations-container {
height: fit-content;
width: 100%;
- position: absolute;
display: flex;
flex-direction: column;
}