Fix user export based on client.js api change
This commit is contained in:
@@ -1404,7 +1404,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
};
|
||||
|
||||
if (search) config.params.search = search;
|
||||
if (active !== null) config.params.active = active ? 'true' : 'false';
|
||||
if (active !== null && typeof active !== 'undefined') config.params.active = active ? 'true' : 'false';
|
||||
|
||||
get('/api/v1/users', config, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
|
||||
Reference in New Issue
Block a user