mirror of
https://github.com/thepeacockproject/Peacock
synced 2025-03-27 11:12:44 +01:00
Fix planning page challenges ui (#95)
This commit is contained in:
parent
926168bbd1
commit
7b4e417cb0
@ -734,6 +734,7 @@ export class ChallengeService extends ChallengeRegistry {
|
|||||||
progression: ChallengeProgressionData,
|
progression: ChallengeProgressionData,
|
||||||
gameVersion: GameVersion,
|
gameVersion: GameVersion,
|
||||||
userId: string,
|
userId: string,
|
||||||
|
isDestination = false,
|
||||||
): CompiledChallengeTreeData {
|
): CompiledChallengeTreeData {
|
||||||
return {
|
return {
|
||||||
// GetChallengeTreeFor
|
// GetChallengeTreeFor
|
||||||
@ -746,7 +747,7 @@ export class ChallengeService extends ChallengeRegistry {
|
|||||||
},
|
},
|
||||||
Drops: [],
|
Drops: [],
|
||||||
Completed: progression.Completed,
|
Completed: progression.Completed,
|
||||||
IsPlayable: challenge.IsPlayable || false,
|
IsPlayable: isDestination,
|
||||||
IsLocked: challenge.IsLocked || false,
|
IsLocked: challenge.IsLocked || false,
|
||||||
HideProgression: false,
|
HideProgression: false,
|
||||||
CategoryName:
|
CategoryName:
|
||||||
@ -827,6 +828,7 @@ export class ChallengeService extends ChallengeRegistry {
|
|||||||
progression,
|
progression,
|
||||||
gameVersion,
|
gameVersion,
|
||||||
userId,
|
userId,
|
||||||
|
true, //isDestination
|
||||||
),
|
),
|
||||||
UserCentricContract:
|
UserCentricContract:
|
||||||
challenge.Type === "contract"
|
challenge.Type === "contract"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user