0
0
Fork 0

refactor: refs #6238 use variable & link class

This commit is contained in:
Jorge Penadés 2024-06-17 10:39:36 +02:00
parent bd6e45d260
commit 94f4e154b0
1 changed files with 8 additions and 3 deletions

View File

@ -537,6 +537,11 @@ const getColor = (percentage) => {
'supplier-name':
col.name === 'cargoSupplierNickname',
},
{
link: ['id', 'cargoSupplierNickname'].includes(
col.name
),
},
]"
v-text="col.value"
/>
@ -573,11 +578,11 @@ const getColor = (percentage) => {
}"
>
<QTd>
<QBtn flat color="primary">{{ entry.id }} </QBtn>
<QBtn flat class="link">{{ entry.id }} </QBtn>
<EntryDescriptorProxy :id="entry.id" />
</QTd>
<QTd>
<QBtn flat color="primary" dense>{{ entry.supplierName }}</QBtn>
<QBtn flat class="link" dense>{{ entry.supplierName }}</QBtn>
<SupplierDescriptorProxy :id="entry.supplierFk" />
</QTd>
<QTd />
@ -623,7 +628,7 @@ const getColor = (percentage) => {
.bg-travel {
background-color: var(--vn-page-color);
border-bottom: 1.6px solid orange;
border-bottom: 2px solid $primary;
}
.dashed-border {