Fixed the dynamic adding bug

This commit is contained in:
Nicolai Ort 2020-07-11 09:54:24 +02:00
parent 9f8ca8139f
commit 077bd8fabc
3 changed files with 4 additions and 3 deletions

View File

@ -81,8 +81,9 @@ export class SprintTableComponent extends TableComponentBase<ScrumSprint> {
keyboard: true,
size: 'md',
});
if (editSprint === null) {
if (editSprint == null) {
modalRef.result.then((result) => {
alert("hi");
this.items.push(result);
});
}

View File

@ -187,7 +187,7 @@ export class TaskTableComponent extends TableComponentBase<ScrumTask> {
keyboard: true,
size: 'lg',
});
if (editTask === null) {
if (editTask == null) {
modalRef.result.then((result) => {
this.items.push(result);
});

View File

@ -177,7 +177,7 @@ export class UserstoryInnerTableComponent extends TableComponentBase<
keyboard: true,
size: 'lg',
});
if (editUserstory === null) {
if (editUserstory == null) {
modalRef.result.then((result) => {
this.items.push(result);
});