Fix quest area tag when area doesn't exist.

This commit is contained in:
Thomas Andres Gomez 2023-11-12 18:59:27 +01:00
parent 865b9abf5e
commit 3eb25cbd65

View file

@ -38,7 +38,7 @@ class QuestDetailViewModel @Inject constructor(
giverId = lexiconRepository.findId(entry.questGiver),
giver = entry.questGiver,
placeId = location?.id,
place = location?.name,
place = location?.name ?: entry.area,
globalReward = entry.groupReward,
individualReward = entry.individualReward,
description = entry.description,