mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #934 from ruwany/master
Adding fix for https://github.com/wso2/product-iots/issues/667
This commit is contained in:
commit
0f7e488d2b
@ -294,7 +294,10 @@ function loadUsers() {
|
|||||||
|
|
||||||
//noinspection JSUnusedLocalSymbols
|
//noinspection JSUnusedLocalSymbols
|
||||||
var fnCreatedRow = function (nRow, aData, iDataIndex) {
|
var fnCreatedRow = function (nRow, aData, iDataIndex) {
|
||||||
$(nRow).attr('data-type', 'selectable');
|
var adminUser = $("#user-table").data("user");
|
||||||
|
if (adminUser !== aData["filter"]) {
|
||||||
|
$(nRow).attr('data-type', 'selectable');
|
||||||
|
}
|
||||||
$(nRow).attr('data-username', aData["filter"]);
|
$(nRow).attr('data-username', aData["filter"]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user