note
This commit is contained in:
@@ -107,6 +107,7 @@ export class UmbModalContextClass<ModalData extends object = object, ModalResult
|
||||
this.modalElement.appendChild(this.#modalRouterElement);
|
||||
this.#observeModal(modalAlias.toString(), combinedData);
|
||||
|
||||
// Note, We are doing the Typing dance here because of the way we are correcting the submit method attribute type.
|
||||
new UmbContextProviderController(
|
||||
host,
|
||||
UMB_MODAL_CONTEXT_TOKEN,
|
||||
@@ -194,11 +195,6 @@ export class UmbModalContextClass<ModalData extends object = object, ModalResult
|
||||
this.#innerElement.next(undefined);
|
||||
}
|
||||
}
|
||||
|
||||
public destroy() {
|
||||
super.destroy();
|
||||
// TODO: Make sure to clean up..
|
||||
}
|
||||
}
|
||||
|
||||
export const UMB_MODAL_CONTEXT_TOKEN = new UmbContextToken<UmbModalContext>('UmbModalContext');
|
||||
|
||||
Reference in New Issue
Block a user