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
|
||||
#dosya-kapama
|
||||
v-if="usersStore.isPanelUser && piyangoStore.lotteryDrawState">
|
||||
v-if="piyangoStore.lotteryApprove === 10">
|
||||
<tab-piyango-dosya-kapama />
|
||||
</template>
|
||||
</tabs>
|
||||
@ -100,7 +100,7 @@
|
||||
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' })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user