You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

actions.ts 406B

123456789101112131415
  1. import { IStore } from '../app/types';
  2. import { toggleDialog } from '../base/dialog/actions';
  3. import { SecurityDialog } from './components/security-dialog';
  4. /**
  5. * Action that triggers toggle of the security options dialog.
  6. *
  7. * @returns {Function}
  8. */
  9. export function toggleSecurityDialog() {
  10. return function(dispatch: IStore['dispatch']) {
  11. dispatch(toggleDialog(SecurityDialog));
  12. };
  13. }