Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. jQuery('#module-custom-modal').on('hidden.bs.modal', () => {
  2.       console.log('##########chiusura modale###########');
  3.       console.log(this.addedTasksArray);
  4.       this.restService.getModuleByName(this.nameModule).subscribe(module  => {
  5.         let tasks = _.differenceWith(this.remainingTask.data, module.tasks, (t1: any, t2: any) => {
  6.           return t1.id === t2.id;
  7.         });
  8.  
  9.         console.log(tasks);
  10.         this.remainingTask = new LocalDataSource(tasks);
  11.       });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement