Add minor UI fixes to APPM UI

The following changes are with this commit
- Display wrong credentials error in Login form
- Display tags and categories in APPM store release view
This commit is contained in:
Jayasanka Weerasinghe 2019-11-05 10:08:22 +00:00 committed by Saad Sahibjan
parent 701ebb0db7
commit 97a03a1aa1
2 changed files with 6 additions and 17 deletions

View File

@ -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);

View File

@ -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);