|
|
|
@ -80,11 +80,11 @@
|
|
|
|
|
<!-- v-if="model.alias.toLowerCase().indexOf(filter.toLowerCase()) > -1">--> |
|
|
|
|
<td> |
|
|
|
|
<v-icon small :color="viewIcons[model.type==='table'?'grid':'view'].color" v-on="on"> |
|
|
|
|
{{ viewIcons[model.type==='table'?'grid':'view'].icon }} |
|
|
|
|
{{ viewIcons[model.type === 'table' ? 'grid' : 'view'].icon }} |
|
|
|
|
</v-icon> |
|
|
|
|
<v-tooltip bottom> |
|
|
|
|
<template #activator="{on}"> |
|
|
|
|
<span v-on="on">{{ model.tn }}</span> |
|
|
|
|
<span v-on="on">{{ model.tn && model.tn.slice(prefix.length) }}</span> |
|
|
|
|
</template> |
|
|
|
|
<span class="caption">{{ model.title }}</span> |
|
|
|
|
</v-tooltip> |
|
|
|
@ -424,7 +424,10 @@ export default {
|
|
|
|
|
computed: { |
|
|
|
|
...mapGetters({ |
|
|
|
|
dbAliasList: 'project/GtrDbAliasList' |
|
|
|
|
}) |
|
|
|
|
}), |
|
|
|
|
prefix() { |
|
|
|
|
return this.$store.getters['project/GtrProjectPrefix'] || '' |
|
|
|
|
} |
|
|
|
|
/* enableCountText() { |
|
|
|
|
return this.models |
|
|
|
|
? `${this.models.filter(m => m.enabled).length}/${this.models.length} enabled` |
|
|
|
|