diff --git a/src/components/AlertList.vue b/src/components/AlertList.vue index 8eb8e2d5..5a6b813e 100644 --- a/src/components/AlertList.vue +++ b/src/components/AlertList.vue @@ -4,6 +4,7 @@ v-model="selected" :headers="customHeaders" :items="alerts" + item-key="id" :pagination.sync="pagination" :total-items="pagination.totalItems" :rows-per-page-items="pagination.rowsPerPageItems" diff --git a/src/views/Alerts.vue b/src/views/Alerts.vue index 32d618f8..c7635814 100644 --- a/src/views/Alerts.vue +++ b/src/views/Alerts.vue @@ -166,8 +166,6 @@ import moment from 'moment' import { ExportToCsv } from 'export-to-csv' import AlertList from '@/components/AlertList.vue' -import AlertIndicator from '@/components/AlertIndicator.vue' -import AlertDetail from '@/components/AlertDetail.vue' import AlertListFilter from '@/components/AlertListFilter.vue' import utils from '@/common/utils' @@ -176,8 +174,8 @@ import i18n from '../plugins/i18n' export default { components: { AlertList, - AlertIndicator: () => import('../components/AlertIndicator.vue'), - AlertDetail: () => import('../components/AlertDetail.vue'), + AlertIndicator: () => import('@/components/AlertIndicator.vue'), + AlertDetail: () => import('@/components/AlertDetail.vue'), AlertListFilter }, props: {