await UmbDocumentCultureAndHostnamesEntityAction

This commit is contained in:
Niels Lyngsø
2024-03-04 01:25:17 +01:00
parent f27fffb317
commit 7b5ec39cd4

View File

@@ -11,8 +11,9 @@ export class UmbDocumentCultureAndHostnamesEntityAction extends UmbEntityActionB
async execute() {
const modalManager = await this.getContext(UMB_MODAL_MANAGER_CONTEXT);
modalManager.open(this, UMB_CULTURE_AND_HOSTNAMES_MODAL, {
const modalContext = modalManager.open(this, UMB_CULTURE_AND_HOSTNAMES_MODAL, {
data: { unique: this.args.unique },
});
await modalContext.onSubmit();
}
}