From 533871d64abc21b5fead10cf4827734f6bc4a535 Mon Sep 17 00:00:00 2001 From: Jayasanka Date: Wed, 9 Oct 2019 11:30:01 +0530 Subject: [PATCH] Fix null value issue in scheduled install/uninstall operation in APPM UI --- .../react-app/src/components/apps/release/ReleaseView.js | 1 + .../react-app/src/components/apps/release/install/UserInstall.js | 1 + 2 files changed, 2 insertions(+) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/ReleaseView.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/ReleaseView.js index e1fbfbfc70..56135c4fb8 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/ReleaseView.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/ReleaseView.js @@ -43,6 +43,7 @@ class ReleaseView extends React.Component { } appOperation = (type, payload, operation, timestamp=null) => { + console.log(timestamp); const config = this.props.context; const release = this.props.app.applicationReleases[0]; const {uuid} = release; diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/install/UserInstall.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/install/UserInstall.js index 82f91bddff..b90fdab7c1 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/install/UserInstall.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.store.ui/react-app/src/components/apps/release/install/UserInstall.js @@ -83,6 +83,7 @@ class UserInstall extends React.Component { }; install = (timestamp=null) => { + console.log(7); const {value} = this.state; const data = []; value.map(val => {