mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Passing deviceId and deviceType into view
This commit is contained in:
parent
33e57efc3d
commit
a097482b91
@ -213,7 +213,7 @@ function onRequest(context) {
|
||||
deviceViewData["autoCompleteParams"] = autoCompleteParams;
|
||||
|
||||
deviceViewData["portalUrl"] = devicemgtProps['portalURL'];
|
||||
var anchor = { "device" : { "id" : deviceId, "type" : deviceType}};
|
||||
deviceViewData["anchor"] = JSON.stringify(anchor);
|
||||
deviceViewData["deviceId"] = deviceId;
|
||||
deviceViewData["deviceType"] = deviceType;
|
||||
return deviceViewData;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user