2020-07-28 23:09:34 +05:30
|
|
|
<script>
|
|
|
|
import AlertManagementEmptyState from './alert_management_empty_state.vue';
|
|
|
|
import AlertManagementTable from './alert_management_table.vue';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
AlertManagementEmptyState,
|
|
|
|
AlertManagementTable,
|
|
|
|
},
|
2021-01-03 14:25:43 +05:30
|
|
|
inject: ['alertManagementEnabled'],
|
2020-07-28 23:09:34 +05:30
|
|
|
};
|
|
|
|
</script>
|
|
|
|
<template>
|
|
|
|
<div>
|
2021-01-03 14:25:43 +05:30
|
|
|
<alert-management-table v-if="alertManagementEnabled" />
|
|
|
|
<alert-management-empty-state v-else />
|
2020-07-28 23:09:34 +05:30
|
|
|
</div>
|
|
|
|
</template>
|