Ignore achieved targets on recently-interacted-with

This commit is contained in:
zkldi
2022-04-08 18:32:24 +01:00
parent 515db2e96e
commit 809b3b462e
+2
View File
@@ -210,6 +210,7 @@ export async function GetRecentlyInteractedGoals(
const query = Object.assign(
{
wasInstantlyAchieved: false,
achieved: false,
lastInteraction: { $ne: null },
},
baseQuery
@@ -276,6 +277,7 @@ export async function GetRecentlyInteractedMilestones(
const query = Object.assign(
{
lastInteraction: { $ne: null },
achieved: false,
wasInstantlyAchieved: false,
},
baseQuery