timekit-io/booking-js

Show availability from a subset of project resources

Opened this issue · 0 comments

I expected to be able to use the resources config option in combination with project_id in this way: by supplying an array of resources to resources, I'd be able to pick from that subset of the resources linked to the project. Let's say the project has resource 1, 2, and 3 linked. If the resources array contained 1 and 4, both of those resources would be shown as it stands. But since 4 isn't on the project, I'd rather they weren't shown.

The resources config option instead overrides the resources list set on the project. I'd prefer the described behavior, but maybe there's reason for the two to coexist.