Skip to content

Commit

Permalink
Provide labels for calendars in resource profiles, #78
Browse files Browse the repository at this point in the history
  • Loading branch information
iharsuvorau committed Apr 5, 2024
1 parent 64e9a04 commit 4f3a436
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ function ResourceProfile({ name, children }: { name: string; children?: React.Re
<Select
name={`${namePrefix}.calendar`}
options={resourceCalendars.map((c: any) => c.id)}
optionLabels={resourceCalendars.map((c: any) => c.name)}
defaultValue={resourceCalendars[0].id}
pure={true}
/>
Expand Down

0 comments on commit 4f3a436

Please sign in to comment.