mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 00:08:25 +00:00
21 lines
352 B
Vue
21 lines
352 B
Vue
<template>
|
|
<Alert v-if="error.visible" type="error">
|
|
<template #title>{{ error.title }}</template>
|
|
<p>{{ error.message }}</p>
|
|
</Alert>
|
|
</template>
|
|
|
|
<script>
|
|
/**
|
|
* This component works the best if the parent has the error mixin.
|
|
*/
|
|
export default {
|
|
props: {
|
|
error: {
|
|
required: true,
|
|
type: Object,
|
|
},
|
|
},
|
|
}
|
|
</script>
|