Added dynamic list enlargement
This commit is contained in:
parent
e1a531ce80
commit
a5323552b0
@ -47,6 +47,6 @@ export class TaskFormComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.submitted = true;
|
this.submitted = true;
|
||||||
this.activeModalService.close();
|
this.activeModalService.close(this.task);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,6 +43,11 @@ export class TaskListComponent implements OnInit {
|
|||||||
backdrop: 'static',
|
backdrop: 'static',
|
||||||
keyboard: true,
|
keyboard: true,
|
||||||
});
|
});
|
||||||
|
if (editTask === null) {
|
||||||
|
modalRef.result.then(result => {
|
||||||
|
this.tasks.push(result);
|
||||||
|
});
|
||||||
|
}
|
||||||
modalRef.componentInstance.task = editTask;
|
modalRef.componentInstance.task = editTask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,6 +47,6 @@ export class UserstoryFormComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
this.submitted = true;
|
this.submitted = true;
|
||||||
this.activeModalService.close();
|
this.activeModalService.close(this.userstory);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,6 +43,11 @@ export class UserstoryListComponent implements OnInit {
|
|||||||
backdrop: 'static',
|
backdrop: 'static',
|
||||||
keyboard: true,
|
keyboard: true,
|
||||||
});
|
});
|
||||||
|
if (editUserstory === null) {
|
||||||
|
modalRef.result.then(result => {
|
||||||
|
this.userstories.push(result);
|
||||||
|
});
|
||||||
|
}
|
||||||
modalRef.componentInstance.userstory = editUserstory;
|
modalRef.componentInstance.userstory = editUserstory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user