Skip to content

Commit 4980fc6

Browse files
committed
add loading spinner in all messages
1 parent 214a5fc commit 4980fc6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Frontend/src/components/audit/AuditList.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { onBeforeMount, onUnmounted, ref, watch } from "vue";
1111
import RefreshConfig from "../RefreshConfig.vue";
1212
import useAutoRefresh from "@/composables/autoRefresh.ts";
1313
import throttle from "lodash/throttle";
14+
import LoadingSpinner from "@/components/LoadingSpinner.vue";
1415
1516
const store = useAuditStore();
1617
const { messages, totalCount, sortBy, messageFilterString, selectedEndpointName, itemsPerPage, dateRange } = storeToRefs(store);
@@ -164,6 +165,7 @@ watch(autoRefreshValue, (newValue) => dataRetriever.updateTimeout(newValue));
164165
</div>
165166
</div>
166167
<div class="row results-table">
168+
<LoadingSpinner v-if="isLoading" />
167169
<template v-for="message in messages" :key="message.id">
168170
<div class="item" @click="navigateToMessage(message)">
169171
<div class="status">

0 commit comments

Comments
 (0)