Skip to content

Commit 6474c99

Browse files
authored
Merge pull request #261 from TaskarCenterAtUW/bug-2005-No-quests-are-available
Fixed No quests are available issue on switching the workspaces
2 parents 54ff4eb + 64a0c9d commit 6474c99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

GoInfoGame/GoInfoGame/UI/InitialView/InitialViewModel.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ class InitialViewModel: ObservableObject {
113113
self.saveLongQuestsToDefaults(longQuestJson: longQuestsResponse)
114114

115115
// Add one generic form for each longquest
116+
QuestsRepository.shared.allQuests.removeAll()
116117
for (index, quest) in self.longQuests.enumerated() {
117118
let applicableQuest = ApplicableQuest(
118119
quest: LongElementQuest(

0 commit comments

Comments
 (0)