Fixed: Inserting properties to the tree now animate correctly to the inserted property

This commit is contained in:
Stefan Zermatten
2021-02-20 16:00:40 +02:00
parent 33415275a3
commit f3e191c12e
2 changed files with 5 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ const insertProperty = new ValidatedMethod({
run({creatureProperty}) {
let rootCreature = getRootCreatureAncestor(creatureProperty);
assertEditPermission(rootCreature, this.userId);
insertPropertyWork({
return insertPropertyWork({
property: creatureProperty,
creature: rootCreature,
});