mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
(bug) no plan for the user's group
This commit is contained in:
parent
c9c9ed9a02
commit
60580a2bae
@ -8,6 +8,7 @@
|
||||
- Fix a bug: invalid ventilation for amount coupons
|
||||
- Fix a bug: invalid VAT for invoices using amount coupons
|
||||
- Fix a bug: invalid 1 cent rounding for invoices using coupons
|
||||
- Fix a bug: plans list error when there was no plan for the user's group
|
||||
- Fix a security issue: updated nokogiri to 1.13.9 to fix [GHSA-2qc6-mcvw-92cw](https://github.com/advisories/GHSA-2qc6-mcvw-92cw)
|
||||
- [TODO DEPLOY] `rails fablab:maintenance:regenerate_statistics[2021,6]`
|
||||
- [TODO DEPLOY] `rails fablab:setup:set_admins_group`
|
||||
|
@ -235,7 +235,7 @@ export const PlansList: React.FC<PlansListProps> = ({ onError, onPlanSelection,
|
||||
{plans && Array.from(filteredPlans()).map(([groupId, plansByGroup]) => {
|
||||
return (
|
||||
<div key={groupId} className="plans-per-group">
|
||||
{plansByGroup.size > 0 && <h2 className="group-title">{ groupName(groupId) }</h2>}
|
||||
{plansByGroup?.size > 0 && <h2 className="group-title">{ groupName(groupId) }</h2>}
|
||||
{plansByGroup && renderPlansByCategory(plansByGroup)}
|
||||
</div>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user