fix creating objects off of datum

This commit is contained in:
Val Erastov 2022-08-14 23:40:01 -07:00
parent 65aa1fea56
commit dea23c2d57

View file

@ -66,7 +66,7 @@ function sceneSynchronizer(ctx) {
} else if (model instanceof MDatum) {
modelView = new DatumView(ctx, model, wizard.open,
datum => pickControl.pick(datum),
e => action.run(params, ctx, 'menu.datum'),
e => action.run('menu.datum', e),
wizard.isInProgress);
} else {
console.warn('unsupported model ' + model);