1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor(render): improved buttons style

This commit is contained in:
2020-10-18 10:27:02 +02:00
parent 12f5e479f3
commit 0626f6f775
6 changed files with 30 additions and 21 deletions

View File

@ -29,7 +29,7 @@
v-for="(field, index) in fields"
:key="index"
class="th c-hand"
:title="field.comment ? field.comment : false"
:title="`${field.type} ${fieldLength(field) ? `(${fieldLength(field)})` : ''}`"
>
<div ref="columnResize" class="column-resizable">
<div class="table-column-title" @click="sort(field.name)">
@ -39,7 +39,7 @@
:class="`key-${field.key}`"
:title="keyName(field.key)"
/>
<span :title="`${field.type} ${fieldLength(field) ? `(${fieldLength(field)})` : ''}`">{{ field.alias || field.name }}</span>
<span>{{ field.alias || field.name }}</span>
<i
v-if="currentSort === field.name || currentSort === `${field.table}.${field.name}`"
class="mdi sort-icon"
@ -93,12 +93,6 @@ export default {
WorkspaceQueryTableRow,
TableContext
},
filters: {
wrapNumber (num) {
if (!num) return '';
return `(${num})`;
}
},
props: {
results: Array,
tabUid: [String, Number],