diff --git a/alcs-frontend/src/app/features/search/notification-search-table/notification-search-table.component.ts b/alcs-frontend/src/app/features/search/notification-search-table/notification-search-table.component.ts index 4fed3c4ca3..040428f3f2 100644 --- a/alcs-frontend/src/app/features/search/notification-search-table/notification-search-table.component.ts +++ b/alcs-frontend/src/app/features/search/notification-search-table/notification-search-table.component.ts @@ -98,11 +98,11 @@ export class NotificationSearchTableComponent { board: e.boardCode, class: e.class, status: { - backgroundColor: status!.alcsBackgroundColor, - textColor: status!.alcsColor, - borderColor: status!.alcsBackgroundColor, - label: status!.label, - shortLabel: status!.label, + backgroundColor: status ? status!.alcsBackgroundColor : '', + textColor: status ? status!.alcsColor : '', + borderColor: status ? status!.alcsBackgroundColor : '', + label: status ? status!.label : '', + shortLabel: status ? status!.label : '', }, }; }); diff --git a/alcs-frontend/src/app/features/search/search.component.ts b/alcs-frontend/src/app/features/search/search.component.ts index 36a95c5507..da6f2e0a0e 100644 --- a/alcs-frontend/src/app/features/search/search.component.ts +++ b/alcs-frontend/src/app/features/search/search.component.ts @@ -336,7 +336,7 @@ export class SearchComponent implements OnInit, OnDestroy { : undefined, fileTypes: fileTypes, tagCategoryId: this.searchForm.controls.tagCategory.value ?? undefined, - tagIds: this.searchForm.controls.tag.value ?? undefined, + tagIds: this.tags.map((t) => t.uuid), }; }