This commit is contained in:
2021-04-29 23:59:52 +00:00
parent 528020f113
commit 2ffd889bd7
7 changed files with 34 additions and 7 deletions

View File

@@ -0,0 +1,22 @@
<template>
<v-col v-if="alertMessage" cols="12" mt-1 mb-2>
<v-alert
ref="alertBox"
data-cy="alertbox"
v-show="alertMessage"
color="primary"
icon="$ayiInfoCircle"
class="multi-line"
outlined
>{{ alertMessage }}</v-alert
>
</v-col>
</template>
<script>
export default {
data: () => ({}),
props: {
alertMessage: { type: String, default: null }
}
};
</script>

View File

@@ -5,8 +5,7 @@
data-cy="generalerror"
v-show="errorBoxMessage"
color="error"
icon="$ayiExclamationCircle"
transition="scale-transition"
icon="$ayiExclamationTriangle"
class="multi-line"
outlined
>{{ errorBoxMessage }}</v-alert