Fix user export based on client.js api change

This commit is contained in:
Johannes Zellner
2022-02-12 19:47:00 +01:00
parent d0002eb7ca
commit b4bbdda730

View File

@@ -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);