diff options
author | richarv <richard.vondadelszen@amdocs.com> | 2018-01-18 16:03:12 -0500 |
---|---|---|
committer | richarv <richard.vondadelszen@amdocs.com> | 2018-01-18 16:04:20 -0500 |
commit | 9f9553bdf90db2a02a742c4e038b2c1600c96036 (patch) | |
tree | aed559460d9255d231731aff6bcd69797b5b3505 /src/app/MainScreenHeader.jsx | |
parent | fd2a6b124c62fe186364efd8eb28409ce7507902 (diff) |
Handling new BE subscription payload
Issue-ID: AAI-676
Change-Id: I5c6307f43b20487068bc4ba3b6d9fee5b25e2027
Signed-off-by: richarv <richard.vondadelszen@amdocs.com>
Diffstat (limited to 'src/app/MainScreenHeader.jsx')
-rw-r--r-- | src/app/MainScreenHeader.jsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/MainScreenHeader.jsx b/src/app/MainScreenHeader.jsx index 49952f7..912a5ad 100644 --- a/src/app/MainScreenHeader.jsx +++ b/src/app/MainScreenHeader.jsx @@ -135,6 +135,7 @@ class MainScreenHeader extends Component { return false; } } + isValidExternalURL(url) { if(decodeURIComponent(url).indexOf('&') > 0 ) { return true; @@ -142,6 +143,7 @@ class MainScreenHeader extends Component { return false; } } + componentWillMount() { this.props.onGetSubscriptionPayload(); if(this.props.match.params.externalUrl !== undefined && @@ -149,6 +151,7 @@ class MainScreenHeader extends Component { this.props.onExternalUrlRequest(this.props.match.params.externalUrl); } } + componentWillReceiveProps(nextProps) { if (this.props.location && this.props.location.pathname !== |