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:
burakovec
2025-12-11 13:55:19 +03:00
parent 9c2f02d617
commit 4a081fe249

View File

@ -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' })
}
}