Bugs entityFields dataKey (#2293)
* Add support import label * Fix not load and show first dataKey
This commit is contained in:
parent
aa7c946cb8
commit
04f18a6fe8
@ -850,7 +850,7 @@ function EntityService($http, $q, $filter, $translate, $log, userService, device
|
||||
|
||||
function getEntityFieldKeys (entityType, searchText) {
|
||||
let entityFieldKeys = [];
|
||||
let query = searchText.toLowerCase();
|
||||
let query = searchText ? searchText.toLowerCase() : "";
|
||||
switch(entityType) {
|
||||
case types.entityType.user:
|
||||
entityFieldKeys.push(types.entityField.name.keyName);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user