Merged in bugfix/PMCORE-2701 (pull request #7732)
PMCORE-2701 'Replaced by' field is listing all users after to delete the word in the search field Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
9d35eac66d
@@ -845,10 +845,14 @@
|
||||
});
|
||||
},
|
||||
getUsersList() {
|
||||
if(this.filterUser.trim() === ""){
|
||||
this.usersList = [];
|
||||
return null;
|
||||
}
|
||||
let formData = new FormData();
|
||||
formData.append("action", "usersList");
|
||||
formData.append("USR_UID", this.form.USR_UID);
|
||||
formData.append("filter", this.filterUser);
|
||||
formData.append("filter", this.filterUser.trim());
|
||||
return axios.post(this.$root.baseUrl() + "users/usersAjax", formData)
|
||||
.then(response => {
|
||||
response;
|
||||
|
||||
Reference in New Issue
Block a user