Files
jitsi-meet/react/features/security/actions.ts
Дамян Минков 1aca8ab985 feat(dialog): Adds name to all dialogs. (#16626)
* feat(dialog): Adds name to all dialogs.

The name is used for debugging purposes to be added to logs.

* squash: Drop empty string.
2025-11-06 09:49:30 -06:00

16 lines
424 B
TypeScript

import { IStore } from '../app/types';
import { toggleDialog } from '../base/dialog/actions';
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', SecurityDialog));
};
}