began work to get inactive state of properties denormalised

This commit is contained in:
Stefan Zermatten
2020-11-03 15:57:14 +02:00
parent 3f7ddd62fc
commit 2fb0ba79c6
9 changed files with 106 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ Meteor.publish('slotFillers', function(slotId){
let filter = {
'ancestors.id': {$in: libraryIds},
};
if (slot.slotTags.length){
if (slot.slotTags && slot.slotTags.length){
filter.tags = {$all: slot.slotTags};
}
if (slot.slotType){