PMCORE-3325

This commit is contained in:
Henry Jordan
2021-10-01 21:13:41 +00:00
parent 55c2bf7c4c
commit 909c0cbc1d
2 changed files with 14 additions and 1 deletions

View File

@@ -60,6 +60,16 @@ export let filters = {
keys: {}, keys: {},
}); });
}, },
/**
* Service to get the process list
*/
processListPaged(data) {
return Api.get({
service: "PROCESSES",
params: data,
keys: {},
});
},
/** /**
* Service to get the users list * Service to get the users list
*/ */

View File

@@ -233,7 +233,10 @@ export default {
getProcesses(query) { getProcesses(query) {
let that = this; let that = this;
Api.filters Api.filters
.processList(query || "") .processListPaged({
text: query || "",
paged: false,
})
.then((response) => { .then((response) => {
that.formatDataProcesses(response.data); that.formatDataProcesses(response.data);
}) })