From fa538a14ed825d417dcbc0c846b98c1b512aa4dd Mon Sep 17 00:00:00 2001 From: svishnev Date: Thu, 31 May 2018 15:01:00 +0300 Subject: archive flow styling fixes Issue-ID: SDC-1383 Change-Id: I624adfc4eb2a441581583f29dc3d0d3512cb8f4c Signed-off-by: svishnev --- openecomp-ui/src/nfvo-components/loader/LoaderConstants.js | 4 ++-- openecomp-ui/src/nfvo-components/notification/Notifications.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'openecomp-ui/src/nfvo-components') diff --git a/openecomp-ui/src/nfvo-components/loader/LoaderConstants.js b/openecomp-ui/src/nfvo-components/loader/LoaderConstants.js index e367a74352..3f2e1c1f78 100644 --- a/openecomp-ui/src/nfvo-components/loader/LoaderConstants.js +++ b/openecomp-ui/src/nfvo-components/loader/LoaderConstants.js @@ -19,6 +19,6 @@ export const actionTypes = keyMirror({ SHOW: null, HIDE: null, - SEND_REQUEST: null, - RECEIVE_RESPONSE: null + SEND_REQUEST: 'SEND_REQUEST', + RECEIVE_RESPONSE: 'RECEIVE_RESPONSE' }); diff --git a/openecomp-ui/src/nfvo-components/notification/Notifications.js b/openecomp-ui/src/nfvo-components/notification/Notifications.js index 046412a68d..d1ece699a8 100644 --- a/openecomp-ui/src/nfvo-components/notification/Notifications.js +++ b/openecomp-ui/src/nfvo-components/notification/Notifications.js @@ -17,7 +17,7 @@ import React from 'react'; import { Portal, Notification } from 'sdc-ui/lib/react/'; import { connect } from 'react-redux'; -import { removeNotification } from './NotificationsConstants.js'; +import { notificationActions } from './NotificationsConstants.js'; import { CSSTransition, TransitionGroup } from 'react-transition-group'; export const mapStateToProps = ({ popupNotifications = [] }) => { @@ -29,7 +29,7 @@ export const mapStateToProps = ({ popupNotifications = [] }) => { const mapActionToProps = dispatch => { return { onClick: item => { - dispatch(removeNotification(item)); + dispatch(notificationActions.removeNotification(item)); } }; }; -- cgit 1.2.3-korg