feat: add delay before showing dialogs and enhance item card styles for better user feedback
Some checks failed
Chore App Build, Test, and Push Docker Images / build-and-push (push) Failing after 1m11s
Some checks failed
Chore App Build, Test, and Push Docker Images / build-and-push (push) Failing after 1m11s
This commit is contained in:
@@ -213,12 +213,16 @@ const triggerReward = (reward: RewardStatus) => {
|
||||
|
||||
if (reward.redeeming) {
|
||||
dialogReward.value = reward
|
||||
showCancelDialog.value = true
|
||||
setTimeout(() => {
|
||||
showCancelDialog.value = true
|
||||
}, 150)
|
||||
return
|
||||
}
|
||||
if (reward.points_needed <= 0) {
|
||||
dialogReward.value = reward
|
||||
showRewardDialog.value = true
|
||||
setTimeout(() => {
|
||||
showRewardDialog.value = true
|
||||
}, 150)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user