refactor: refs #7318 update order prop type to string and improve conditional rendering for zone
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
f6e53e478f
commit
1f1fa1e2b6
|
@ -42,8 +42,8 @@ const props = defineProps({
|
|||
default: null,
|
||||
},
|
||||
order: {
|
||||
type: Array,
|
||||
default: [],
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
limit: {
|
||||
type: Number,
|
||||
|
|
|
@ -86,7 +86,7 @@ onMounted(async () => {
|
|||
/>
|
||||
</template>
|
||||
</VnLv>
|
||||
<VnLv v-if="entity.ticket?.zone" :label="t('claim.zone')">
|
||||
<VnLv v-if="entity.ticket?.zone?.id" :label="t('claim.zone')">
|
||||
<template #value>
|
||||
<span class="link">
|
||||
{{ entity.ticket?.zone?.name }}
|
||||
|
|
|
@ -131,7 +131,7 @@ const STATE_COLOR = {
|
|||
prefix="claim"
|
||||
:array-data-props="{
|
||||
url: 'Claims/filter',
|
||||
order: ['cs.priority ASC', 'created ASC'],
|
||||
order: 'cs.priority ASC, created ASC',
|
||||
}"
|
||||
>
|
||||
<template #advanced-menu>
|
||||
|
|
Loading…
Reference in New Issue