fix: Correct existing subtypes test coverage; add test coverage for
subtype actions; and a subtype action fix.
This commit is contained in:
@@ -43,6 +43,10 @@ export class API {
|
||||
|
||||
static addSubtype = (record: SubtypeRecord, subtypePrepFn: SubtypePrepFn) => {
|
||||
const prep = prepareSubtype(record, subtypePrepFn);
|
||||
if (prep.actions) {
|
||||
h.app.actionManager.registerAll(prep.actions);
|
||||
h.app.actionManager.registerActionGuards();
|
||||
}
|
||||
return prep;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user