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.js 369B

12345678910111213141516
  1. // @flow
  2. import { toggleDialog } from '../base/dialog';
  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: (Object) => Object) {
  11. dispatch(toggleDialog(SecurityDialog));
  12. };
  13. }