diff --git a/src/app/components/dashboard/dashboard.component.html b/src/app/components/dashboard/dashboard.component.html index eb8fa71..f7cc9da 100644 --- a/src/app/components/dashboard/dashboard.component.html +++ b/src/app/components/dashboard/dashboard.component.html @@ -108,7 +108,7 @@
diff --git a/src/app/components/tabels/userstory-inner-table/userstory-inner-table.component.ts b/src/app/components/tabels/userstory-inner-table/userstory-inner-table.component.ts index f577876..3309ae1 100644 --- a/src/app/components/tabels/userstory-inner-table/userstory-inner-table.component.ts +++ b/src/app/components/tabels/userstory-inner-table/userstory-inner-table.component.ts @@ -25,7 +25,7 @@ export class UserstoryInnerTableComponent extends TableComponentBase< public status: ScrumStatus[] = []; public categories: ScrumCategory[] = []; - @Input() public storys: ScrumUserstory[] = []; + @Input() public items: ScrumUserstory[] = []; /** * Constructor that establishes the initial backend communication. @@ -40,14 +40,14 @@ export class UserstoryInnerTableComponent extends TableComponentBase< protected route: ActivatedRoute ) { super(route); - this.items = this.storys; - backendService.getUserstories().subscribe((response) => { - if (response.status > 399) { - alert('Fehler'); - } else { - this.items.push(...response.body); - } - }); + + backendService.getUserstories().subscribe((response) => { + if (response.status > 399) { + alert('Fehler'); + } else { + this.items.push(...response.body); + } + }); backendService.getTasks().subscribe((response) => { if (response.status > 399) { alert('Fehler'); diff --git a/src/app/components/tabels/userstory/userstory-table.component.html b/src/app/components/tabels/userstory/userstory-table.component.html index 0b4d5a8..73e0f71 100644 --- a/src/app/components/tabels/userstory/userstory-table.component.html +++ b/src/app/components/tabels/userstory/userstory-table.component.html @@ -1,6 +1,6 @@

Userstories

- +