Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery('#module-custom-modal').on('hidden.bs.modal', () => {
- console.log('##########chiusura modale###########');
- console.log(this.addedTasksArray);
- this.restService.getModuleByName(this.nameModule).subscribe(module => {
- let tasks = _.differenceWith(this.remainingTask.data, module.tasks, (t1: any, t2: any) => {
- return t1.id === t2.id;
- });
- console.log(tasks);
- this.remainingTask = new LocalDataSource(tasks);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement