Fix bug activating property slots under actions

This commit is contained in:
ThaumRystra
2025-07-25 18:50:02 +02:00
parent 5dc202fc17
commit 51a20ac205

View File

@@ -8,7 +8,7 @@ export default async function applyFolderProperty(
): Promise<void> {
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`);
}