Merged in bugfix/PMCORE-3336 (pull request #8240)
PMCORE-3336 Approved-by: Rodrigo Quelca
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
4dcbea67f5
@@ -56,6 +56,7 @@ export default {
|
||||
return "btn v-btn-request " + cls;
|
||||
},
|
||||
show() {
|
||||
this.filter = "";
|
||||
this.$refs["my-modal"].show();
|
||||
this.getProcess();
|
||||
},
|
||||
@@ -97,10 +98,8 @@ export default {
|
||||
filterProcesses(processes) {
|
||||
let that = this;
|
||||
return _.filter(processes, (p) => {
|
||||
return (
|
||||
_.toLower(p.title).search(_.lowerCase(that.filter)) != -1 ||
|
||||
_.toLower(p.description).search(_.lowerCase(that.filter)) != -1
|
||||
);
|
||||
return p.title.toLowerCase().indexOf(that.filter.toLowerCase()) !== -1 ||
|
||||
p.description.toLowerCase().indexOf(that.filter.toLowerCase()) !== -1;
|
||||
});
|
||||
},
|
||||
formatResponseGetProcess(response) {
|
||||
|
||||
Reference in New Issue
Block a user