aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src
diff options
context:
space:
mode:
authormiriame <miriam.eini@amdocs.com>2017-10-26 14:31:47 +0300
committermiriame <miriam.eini@amdocs.com>2017-10-26 14:35:43 +0300
commitdee95858c15519e28bd08b6e327fa81682a54dfe (patch)
tree8f4aa71079deb47b000915216ac172dcd176358d /openecomp-ui/src
parent7cb00e69c6090b11095f2fc7df459f03f6b7ccd8 (diff)
confirmation msg for delete FG doesn't appear
Change-Id: I4c14bf2e9e6073d2a436b3ec1c6b395ec53c12fc Issue-ID: SDC-540 Signed-off-by: miriame <miriam.eini@amdocs.com>
Diffstat (limited to 'openecomp-ui/src')
-rw-r--r--openecomp-ui/src/nfvo-components/modal/GlobalModal.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/openecomp-ui/src/nfvo-components/modal/GlobalModal.js b/openecomp-ui/src/nfvo-components/modal/GlobalModal.js
index f282046125..4e7a1a16a4 100644
--- a/openecomp-ui/src/nfvo-components/modal/GlobalModal.js
+++ b/openecomp-ui/src/nfvo-components/modal/GlobalModal.js
@@ -114,7 +114,9 @@ export class GlobalModalView extends React.Component {
<Modal.Body>
{ComponentToRender ?
<ComponentToRender {...modalComponentProps}/> :
- <div> {msg && msg.split('\n').map(txt => <span> {txt} <br/> </span>)} </div>
+ msg && typeof msg === 'string' ?
+ <div> {msg.split('\n').map(txt => <span> {txt} <br/> </span>)} </div> :
+ msg
}
</Modal.Body>
{(onConfirmed || onDeclined || type !== typeEnum.DEFAULT) &&