diff --git a/app/imports/api/engine/action/applyProperties/applyFolderProperty.ts b/app/imports/api/engine/action/applyProperties/applyFolderProperty.ts index 878c785c..26390d0a 100644 --- a/app/imports/api/engine/action/applyProperties/applyFolderProperty.ts +++ b/app/imports/api/engine/action/applyProperties/applyFolderProperty.ts @@ -8,7 +8,7 @@ export default async function applyFolderProperty( ): Promise { const prop = task.prop; - if (prop.type !== 'folder') { + if (prop.type !== 'folder' && prop.type !== 'propertySlot') { throw new Meteor.Error('wrong-property', `Expected a folder, got ${prop.type} instead`); }