Pass object path when getting views during object creation (#3736)

This commit is contained in:
Shefali Joshi 2021-03-04 10:17:14 -08:00 committed by GitHub
parent 94d9852339
commit bffe79ecbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ define([
context.domainObject.getModel(),
objectUtils.parseKeyString(context.domainObject.getId())
);
const providers = mct.propertyEditors.get(domainObject);
const providers = mct.propertyEditors.get(domainObject, mct.router.path);
if (providers.length > 0) {
action.dialogService = Object.create(action.dialogService);