Some checks failed
Close stale issues and PRs / stale (push) Has been cancelled
22 lines
768 B
TypeScript
22 lines
768 B
TypeScript
import { ConnectionFailedError } from '../base/connection/types';
|
|
import { openDialog } from '../base/dialog/actions';
|
|
import PageReloadDialog from '../base/dialog/components/native/PageReloadDialog';
|
|
|
|
|
|
/**
|
|
* Opens {@link PageReloadDialog}.
|
|
*
|
|
* @param {Error} conferenceError - The conference error that caused the reload.
|
|
* @param {Error} configError - The conference error that caused the reload.
|
|
* @param {Error} connectionError - The conference error that caused the reload.
|
|
* @returns {Function}
|
|
*/
|
|
export function openPageReloadDialog(
|
|
conferenceError?: Error, configError?: Error, connectionError?: ConnectionFailedError) {
|
|
return openDialog(PageReloadDialog, {
|
|
conferenceError,
|
|
configError,
|
|
connectionError
|
|
});
|
|
}
|