Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Quelca committed Aug 21, 2024
1 parent b13f7cb commit d6ea214
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/components/task.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ export default {
handler() {
if (this.requestId) {
this.setMetaValue();
console.log('init socket');
this.initSocketListeners();
} else {
this.unsubscribeSocketListeners();
Expand Down Expand Up @@ -702,15 +701,6 @@ export default {
window.location.href = `/requests/${requestId}`;
},
initSocketListeners() {
this.addSocketListener(
`completed-${this.requestId}`,
`ProcessMaker.Models.ProcessRequest.${this.requestId}`,
'.ProcessCompleted',
(data) => {
console.log('ProcessCompleted', data);
// this.processCompleted(data);
}
);
this.addSocketListener(
`updated-${this.requestId}`,
`ProcessMaker.Models.ProcessRequest.${this.requestId}`,
Expand Down

0 comments on commit d6ea214

Please sign in to comment.