19 lines
442 B
Vue
19 lines
442 B
Vue
<script>
|
|
import AlertManagementEmptyState from './alert_management_empty_state.vue';
|
|
import AlertManagementTable from './alert_management_table.vue';
|
|
|
|
export default {
|
|
components: {
|
|
AlertManagementEmptyState,
|
|
AlertManagementTable,
|
|
},
|
|
inject: ['alertManagementEnabled'],
|
|
};
|
|
</script>
|
|
<template>
|
|
<div>
|
|
<alert-management-table v-if="alertManagementEnabled" />
|
|
<alert-management-empty-state v-else />
|
|
</div>
|
|
</template>
|