mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'application-mgt-new' into 'master'
Fix device loading issue in APPM store app view See merge request entgra/carbon-device-mgt!381
This commit is contained in:
commit
76ff05d153
@ -51,10 +51,10 @@ const columns = [
|
||||
},
|
||||
{
|
||||
title: 'Last Updated',
|
||||
dataIndex: 'enrolmentInfo',
|
||||
key: 'dateOfLastUpdate',
|
||||
dataIndex: 'deviceInfo',
|
||||
key: 'updatedTime',
|
||||
render: (data) => {
|
||||
return (getTimeAgo(data.dateOfLastUpdate));
|
||||
return data.updatedTime;
|
||||
}
|
||||
// todo add filtering options
|
||||
},
|
||||
@ -96,12 +96,6 @@ const columns = [
|
||||
},
|
||||
];
|
||||
|
||||
const getTimeAgo = (time) => {
|
||||
const timeAgo = new TimeAgo('en-US');
|
||||
return timeAgo.format(time);
|
||||
};
|
||||
|
||||
|
||||
class DeviceInstall extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
@ -51,10 +51,10 @@ const columns = [
|
||||
},
|
||||
{
|
||||
title: 'Last Updated',
|
||||
dataIndex: 'enrolmentInfo',
|
||||
key: 'dateOfLastUpdate',
|
||||
dataIndex: 'deviceInfo',
|
||||
key: 'updatedTime',
|
||||
render: (data) => {
|
||||
return (getTimeAgo(data.dateOfLastUpdate));
|
||||
return data.updatedTime;
|
||||
}
|
||||
// todo add filtering options
|
||||
},
|
||||
@ -96,11 +96,6 @@ const columns = [
|
||||
},
|
||||
];
|
||||
|
||||
const getTimeAgo = (time) => {
|
||||
const timeAgo = new TimeAgo('en-US');
|
||||
return timeAgo.format(time);
|
||||
};
|
||||
|
||||
class DeviceUninstall extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user