web-installer/src/containers/chains/common/alertsContainer.js
// Functions to be used in the Cosmos Alerts table to save the alert's details
Functions to be used in the Cosmos Alerts table to save the alert's details
Functions to be used in the Cosmos Alerts table to save the alert ' s details
function mapCosmosDispatchToProps(dispatch) {
  return {
    stepChanger: (step) => dispatch(changeStep(step)),
    pageChanger: (page) => dispatch(changePage(page)),
    clearChainId: () => dispatch(resetCurrentChainIdCosmos()),
    updateRepeatAlertDetails: (details) => dispatch(updateRepeatAlert(details)),
    updateTimeWindowAlertDetails: (details) => dispatch(updateTimeWindowAlert(details)),
    updateThresholdAlertDetails: (details) => dispatch(updateThresholdAlert(details)),
    updateSeverityAlertDetails: (details) => dispatch(updateSeverityAlert(details)),
  };
}
function mapCosmosDispatchToProps ( dispatch ) { return { stepChanger : ( step ) => dispatch ( changeStep ( step ) ) , pageChanger : ( page ) => dispatch ( changePage ( page ) ) , clearChainId : ( ) => dispatch ( resetCurrentChainIdCosmos ( ) ) , updateRepeatAlertDetails : ( details ) => dispatch ( updateRepeatAlert ( details ) ) , updateTimeWindowAlertDetails : ( details ) => dispatch ( updateTimeWindowAlert ( details ) ) , updateThresholdAlertDetails : ( details ) => dispatch ( updateThresholdAlert ( details ) ) , updateSeverityAlertDetails : ( details ) => dispatch ( updateSeverityAlert ( details ) ) , } ; }
Functions to be used in the Cosmos Alerts table to save the alert's details
Functions to be used in the Cosmos Alerts table to save the alert ' s details