Updated UI to hide extra attributes and skills with same variable name

This commit is contained in:
Stefan Zermatten
2021-04-22 15:12:21 +02:00
parent 298db01e5b
commit 1de3122254
2 changed files with 2 additions and 0 deletions

View File

@@ -345,6 +345,7 @@
filter['ancestors.id'] = creature._id;
filter.removed = {$ne: true};
filter.inactive = {$ne: true};
filter.overridden = {$ne: true};
return CreatureProperties.find(filter, {
sort: {order: 1}
});

View File

@@ -41,6 +41,7 @@
attributeType: 'healthBar',
removed: {$ne: true},
inactive: {$ne: true},
overridden: {$ne: true},
};
if (creature.settings.hideUnusedStats){
filter.hide = {$ne: true};