mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix the web-clip device type issue of the APPM store
This commit is contained in:
parent
16868f98f7
commit
d4f4751bf2
@ -114,7 +114,6 @@ class DeviceInstall extends React.Component {
|
||||
|
||||
rowSelection = {
|
||||
onChange: (selectedRowKeys, selectedRows) => {
|
||||
// console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);
|
||||
this.setState({
|
||||
selectedRows: selectedRows
|
||||
})
|
||||
@ -142,9 +141,12 @@ class DeviceInstall extends React.Component {
|
||||
limit: 10,
|
||||
status: "ACTIVE",
|
||||
requireDeviceInfo: true,
|
||||
type: deviceType
|
||||
};
|
||||
|
||||
if (deviceType !== 'ANY') {
|
||||
extraParams.type = deviceType;
|
||||
}
|
||||
|
||||
// note: encode with '%26' not '&'
|
||||
const encodedExtraParams = Object.keys(extraParams).map(key => key + '=' + extraParams[key]).join('&');
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user