Observation entry now only possible if store values have been setup.

This commit is contained in:
neviyn 2018-10-11 13:55:45 +01:00
parent 7217067690
commit 5089e36faf

View File

@ -1,5 +1,6 @@
<template> <template>
<b-container> <b-container>
<b-container v-if="description != null && type != null && whom != null && site != null && tutors != null">
<h3> <h3>
<v-icon name="tag" scale="1.5"/> <v-icon name="tag" scale="1.5"/>
{{type}}/{{description}} {{type}}/{{description}}
@ -102,6 +103,19 @@
</form> </form>
</b-modal> </b-modal>
</b-container> </b-container>
<b-container v-else>
<b-row>
<b-col>
<h2>Error</h2>
</b-col>
</b-row>
<b-row>
<b-col>
<p>An Observation session has not been correctly setup, please try again.</p>
</b-col>
</b-row>
</b-container>
</b-container>
</template> </template>
<script> <script>