collapse zones with no active quests
This commit is contained in:
parent
91257a09f4
commit
3541eff537
3 changed files with 18 additions and 2 deletions
|
|
@ -101,6 +101,12 @@ export class Armory {
|
|||
helpers: {
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
...require("handlebars-helpers")(),
|
||||
eq: function(a: any, b: any) {
|
||||
return a === b;
|
||||
},
|
||||
hasInProgressQuests: function(quests: any[]) {
|
||||
return quests.some(quest => quest.status === 'In Progress');
|
||||
}
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue