This commit is contained in:
23
ayanova/src/components/error-control.vue
Normal file
23
ayanova/src/components/error-control.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<v-col cols="12" mt-1 mb-2>
|
||||
<v-alert
|
||||
ref="errorbox"
|
||||
:data-cy="!!$ay.dev ? 'errorbox' : false"
|
||||
v-show="errorBoxMessage"
|
||||
color="error"
|
||||
icon="fa-exclamation-circle "
|
||||
transition="scale-transition"
|
||||
class="multi-line"
|
||||
outlined
|
||||
>{{ errorBoxMessage }}</v-alert
|
||||
>
|
||||
</v-col>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data: () => ({}),
|
||||
props: {
|
||||
errorBoxMessage: String
|
||||
}
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user