From 51a20ac205b229ed32ff1e3a706ff7737f52e935 Mon Sep 17 00:00:00 2001 From: ThaumRystra Date: Fri, 25 Jul 2025 18:50:02 +0200 Subject: [PATCH] Fix bug activating property slots under actions --- .../api/engine/action/applyProperties/applyFolderProperty.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`); }