Green button for unlocked and completed quest

This commit is contained in:
Annie Huang committed 2024-08-01 19:40:17 +08:00
1 parent ac89d521fc
commit 334b34ef65
1 file changed
+1 -4
+1 -4
View File
@@ -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'