Use datatable loader indicator

This commit is contained in:
Douglas Barone 2020-12-22 11:51:34 -04:00
parent f5d06f8782
commit bcbcb36c43

View File

@ -28,9 +28,9 @@
</template>
</v-tooltip>
</v-toolbar>
<v-progress-linear :indeterminate="$apollo.queries.logs.loading" />
<v-data-table
:loading="$apollo.queries.logs.loading"
:items="items"
:headers="headers"
:search="search"
@ -52,12 +52,12 @@
</template>
<template slot="item.data" slot-scope="{ item }">
<v-dialog>
<v-dialog scrollable>
<template #activator="{ on }">
<v-btn icon v-on="on"><v-icon>mdi-magnify</v-icon> </v-btn>
</template>
<v-card>
<v-card-title>
<v-card-title class="font-weight-light">
{{ item.message }}
</v-card-title>
<v-card-text>