summaryrefslogtreecommitdiff
path: root/src/views/Logs/PostCodeLogs/PostCodeLogs.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/Logs/PostCodeLogs/PostCodeLogs.vue')
-rw-r--r--src/views/Logs/PostCodeLogs/PostCodeLogs.vue9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/views/Logs/PostCodeLogs/PostCodeLogs.vue b/src/views/Logs/PostCodeLogs/PostCodeLogs.vue
index 6ef575e5..d116d2ed 100644
--- a/src/views/Logs/PostCodeLogs/PostCodeLogs.vue
+++ b/src/views/Logs/PostCodeLogs/PostCodeLogs.vue
@@ -64,6 +64,7 @@
:per-page="perPage"
:current-page="currentPage"
:filter="searchFilter"
+ :busy="isBusy"
@filtered="onFiltered"
@row-selected="onRowSelected($event, filteredLogs.length)"
>
@@ -208,6 +209,7 @@ export default {
},
data() {
return {
+ isBusy: true,
fields: [
{
key: 'checkbox',
@@ -297,9 +299,10 @@ export default {
},
created() {
this.startLoader();
- this.$store
- .dispatch('postCodeLogs/getPostCodesLogData')
- .finally(() => this.endLoader());
+ this.$store.dispatch('postCodeLogs/getPostCodesLogData').finally(() => {
+ this.endLoader();
+ this.isBusy = false;
+ });
},
methods: {
exportAllLogsString() {