Skip to content

Conversation

@freddieptf
Copy link
Collaborator

Fixes #286

@freddieptf freddieptf requested a review from kennsippell April 9, 2025 13:16
nameIncludes?: string;
}): { canEdit?: boolean; places: Place[] }[] => {
const places = this.getPlaces(options);
if (options?.type && !Config.getContactType(options.type).can_assign_multiple) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is odd to check type has a value, but also remove the ? which indicates that it "could not have a value"
which is it? is it always defined or do we need to check it? i think it is the former and change on line 55 should be reverted

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it always defined or do we need to check it

options object could be undefined. Let me revert line 56 since it doesn't really change anything

@freddieptf freddieptf merged commit 77b1438 into main Apr 10, 2025
1 check passed
@freddieptf freddieptf deleted the 286_place_list branch April 10, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CHP table repeats header for each row

3 participants