mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 16:28:31 +00:00
24 lines
364 B
Vue
24 lines
364 B
Vue
<template>
|
|
<Alert
|
|
v-if="error.visible"
|
|
type="error"
|
|
icon="iconoir-warning-triangle"
|
|
:title="error.title"
|
|
>{{ error.message }}</Alert
|
|
>
|
|
</template>
|
|
|
|
<script>
|
|
/**
|
|
* This component works the best if the parent has the error mixin.
|
|
*/
|
|
export default {
|
|
props: {
|
|
error: {
|
|
required: true,
|
|
type: Object,
|
|
},
|
|
},
|
|
}
|
|
</script>
|