mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
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:
parent
701ebb0db7
commit
97a03a1aa1
@ -51,10 +51,10 @@ const columns = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Last Updated',
|
title: 'Last Updated',
|
||||||
dataIndex: 'enrolmentInfo',
|
dataIndex: 'deviceInfo',
|
||||||
key: 'dateOfLastUpdate',
|
key: 'updatedTime',
|
||||||
render: (data) => {
|
render: (data) => {
|
||||||
return (getTimeAgo(data.dateOfLastUpdate));
|
return data.updatedTime;
|
||||||
}
|
}
|
||||||
// todo add filtering options
|
// 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 {
|
class DeviceInstall extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
|
|||||||
@ -51,10 +51,10 @@ const columns = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Last Updated',
|
title: 'Last Updated',
|
||||||
dataIndex: 'enrolmentInfo',
|
dataIndex: 'deviceInfo',
|
||||||
key: 'dateOfLastUpdate',
|
key: 'updatedTime',
|
||||||
render: (data) => {
|
render: (data) => {
|
||||||
return (getTimeAgo(data.dateOfLastUpdate));
|
return data.updatedTime;
|
||||||
}
|
}
|
||||||
// todo add filtering options
|
// 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 {
|
class DeviceUninstall extends React.Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user