AccompanyingCourse api errorMsg

This commit is contained in:
2021-08-17 20:44:15 +02:00
parent 4cf676858e
commit 28435940f1
4 changed files with 44 additions and 14 deletions

View File

@@ -15,6 +15,12 @@
<comment v-if="accompanyingCourse.step === 'DRAFT'"></comment>
<confirm v-if="accompanyingCourse.step === 'DRAFT'"></confirm>
<div v-for="error in errorMsg" class="vue-component errors alert alert-danger">
<p>
<span>{{ error.sta }} {{ error.txt }}</span><br>
<span>{{ $t(error.msg) }}</span>
</p>
</div>
</template>
<script>
@@ -48,7 +54,8 @@ export default {
},
computed: mapState([
'accompanyingCourse',
'addressContext'
'addressContext',
'errorMsg'
])
};
</script>
@@ -89,6 +96,16 @@ export default {
}
table {
}
&.errors {
//display: flex;
//position: sticky;
//bottom: 0.3em;
//z-index: 1000;
margin: 1em 0;
padding: 1em;
border-radius: 0;
}
}
}
</style>