jiti-meet/react/features/security/actions.ts

17 lines
420 B
TypeScript
Raw Normal View History

import { IStore } from '../app/types';
import { toggleDialog } from '../base/dialog/actions';
2020-05-20 10:57:03 +00:00
// @ts-ignore
import { SecurityDialog } from './components/security-dialog';
/**
* Action that triggers toggle of the security options dialog.
*
* @returns {Function}
*/
export function toggleSecurityDialog() {
return function(dispatch: IStore['dispatch']) {
dispatch(toggleDialog(SecurityDialog));
};
}