Skip to content

Commit

Permalink
Merge pull request #1959 from bcgov/feature/ALCS-1874-rebuild-tags-pa…
Browse files Browse the repository at this point in the history
…rams

ALCS-1874 Refresh tags params correctly
  • Loading branch information
fbarreta authored Nov 6, 2024
2 parents 665d376 + 3a2ba2b commit b76b2bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 : '',
},
};
});
Expand Down
2 changes: 1 addition & 1 deletion alcs-frontend/src/app/features/search/search.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};
}

Expand Down

0 comments on commit b76b2bc

Please sign in to comment.