Update PiyangoDetay component to change conditional rendering for the "Dosya Kapama" tab. The condition now checks for piyangoStore.lotteryApprove === 10 instead of usersStore.isPanelUser && piyangoStore.lotteryDrawState to enhance logic clarity and functionality.
This commit is contained in:
@ -29,7 +29,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
#dosya-kapama
|
#dosya-kapama
|
||||||
v-if="usersStore.isPanelUser && piyangoStore.lotteryDrawState">
|
v-if="piyangoStore.lotteryApprove === 10">
|
||||||
<tab-piyango-dosya-kapama />
|
<tab-piyango-dosya-kapama />
|
||||||
</template>
|
</template>
|
||||||
</tabs>
|
</tabs>
|
||||||
@ -100,7 +100,7 @@
|
|||||||
tabList.value.push({ text: 'Teminat Listesi', id: 'teminat-listesi' })
|
tabList.value.push({ text: 'Teminat Listesi', id: 'teminat-listesi' })
|
||||||
}
|
}
|
||||||
|
|
||||||
if (usersStore.isPanelUser && piyangoStore.lotteryDrawState) {
|
if (piyangoStore.lotteryApprove === 10) {
|
||||||
tabList.value.push({ text: 'Dosya Kapama', id: 'dosya-kapama' })
|
tabList.value.push({ text: 'Dosya Kapama', id: 'dosya-kapama' })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user