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