From 334b34ef6551511b8e637327099c05328c6ce649 Mon Sep 17 00:00:00 2001 From: Annie Huang Date: Thu, 1 Aug 2024 19:40:17 +0800 Subject: [PATCH] Green button for unlocked and completed quest --- app/src/components/QuestIntro.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/components/QuestIntro.vue b/app/src/components/QuestIntro.vue index e1f301f..b23d741 100644 --- a/app/src/components/QuestIntro.vue +++ b/app/src/components/QuestIntro.vue @@ -44,12 +44,9 @@ const handleQuests = (id: string) => { } } const handleColour = () => { - if (questCompleted) { + if (questUnlocked) { questColor.value = '#00ff00' questTextColor.value = '#000000' - } else if (questUnlocked) { - questColor.value = '#8c8c92' - questTextColor.value = '#ffffff' } else { questColor.value = '#505050' questTextColor.value = '#a0a0a0'