Skip to content

Commit

Permalink
cleanup comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lastminutediorama committed Aug 29, 2024
1 parent 7b81658 commit c259c2c
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface rxType {
year: number;
}

//TODO: This should live in a central place, but I'm also sure how we should map these
//TODO: This should live in a central place and possibly map to something that's not a string?
export type TreatmentType =
| 'No Treatment'
| 'Moderate thin & Biomass removal'
Expand Down Expand Up @@ -77,8 +77,7 @@ export class TreatmentExpanderComponent {
@Input() rxDetails: rxType[] = [];
openState = false;

//TODO: Among other things, it would seem less fragile to define FE constants
// rather than using these strings
// Retaining colors here, so the icon component can remain as agnostic as possible
readonly treatmentIcons: Record<TreatmentType, TreatmentIconColor> = {
'No Treatment': 'none',
'Moderate thin & Biomass removal': 'blue',
Expand Down Expand Up @@ -116,7 +115,6 @@ export class TreatmentExpanderComponent {
return 'none';
}

// TODO: solve HostBinding...
get isSelected() {
return this.selected;
}
Expand Down

0 comments on commit c259c2c

Please sign in to comment.