Minor UI changes

This commit is contained in:
Douglas Barone 2022-03-29 14:13:03 -04:00
parent 000d033648
commit e36f145fba
2 changed files with 13 additions and 11 deletions

View File

@ -35,11 +35,11 @@
" "
> >
<v-icon left>mdi-check-all</v-icon> <v-icon left>mdi-check-all</v-icon>
Todos Todas
</v-btn> </v-btn>
<v-btn color="secondary" text @click="resetDefaultHeaders"> <v-btn color="secondary" text @click="resetDefaultHeaders">
<v-icon left>mdi-check-all</v-icon> <v-icon left>mdi-check-all</v-icon>
Padrões Padrão
</v-btn> </v-btn>
</v-card-actions> </v-card-actions>
</v-card> </v-card>
@ -70,19 +70,19 @@
<template #[`item.clients`]="{ item }"> <template #[`item.clients`]="{ item }">
<div class="align-content-end"> <div class="align-content-end">
<v-chip <v-btn
class="client-chip" block
small
rounded
:elevation="0"
:color="loadColor(item.clients) + ' lighten-5'" :color="loadColor(item.clients) + ' lighten-5'"
pill
@click="navigateToAccessPoint(item)" @click="navigateToAccessPoint(item)"
> >
<v-icon left :color="loadColor(item.clients)"> <v-icon left :color="loadColor(item.clients)">
{{ loadIcon(item.clients) }} {{ loadIcon(item.clients) }}
</v-icon> </v-icon>
<span class="text--black">
{{ item.clients }} {{ item.clients }}
</span> </v-btn>
</v-chip>
</div> </div>
</template> </template>
@ -123,11 +123,12 @@ export default {
defaultHeaders: [ defaultHeaders: [
'name', 'name',
'ip', 'ip',
'local',
'clients', 'clients',
'uptime', 'uptime',
'updatedAt', 'updatedAt',
'notes' // 'notes',
'controller',
'mac'
], ],
allHeaders: [ allHeaders: [
{ text: 'Nome', value: 'name' }, { text: 'Nome', value: 'name' },

View File

@ -67,6 +67,7 @@ export default {
}, },
apollo: { apollo: {
accessPoint: { accessPoint: {
cachePolicy: 'cache-and-network',
query: gql` query: gql`
query accessPoint($id: ID!) { query accessPoint($id: ID!) {
accessPoint(id: $id) { accessPoint(id: $id) {