maintenance

This commit is contained in:
mProjectsCode 2023-09-28 11:50:39 +02:00
parent 846f7de184
commit 1d76bb8981
7 changed files with 80 additions and 55 deletions

View file

@ -440,7 +440,7 @@ export class ModalHelper {
* then executes the `submitCallback` returning the callbacks result and closing the modal.
*
* @param selectModalOptions the options for the modal, see {@link SELECT_MODAL_OPTIONS_DEFAULT}
* @param submitCallback the callback that gets executed after the modal has been submitted, but after it has been closed
* @param submitCallback the callback that gets executed after the modal has been submitted, but before it has been closed
* @returns the user input or nothing and a reference to the modal.
*/
async openSelectModal(selectModalOptions: SelectModalOptions, submitCallback: (selectModalData: SelectModalData) => Promise<MediaTypeModel[]>): Promise<MediaTypeModel[]> {