Closed mohitb35 closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
planet-webapp | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 29, 2024 8:25am |
planet-webapp-multi-tenancy-setup | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 29, 2024 8:25am |
The recent updates focus on refining the logic for enabling certificates and filtering projects based on specific criteria. The AccountRecord.tsx
and Certificates.tsx
files see changes to the showCertificate
and shouldEnableCertificate
functions, respectively, to better handle project purposes. Additionally, the BulkCodes
component's filtering logic now includes a condition for the unitType
of projects, ensuring more precise donation eligibility.
Files | Change Summary |
---|---|
src/features/user/Account/components/AccountRecord.tsx |
Adjusted showCertificate function to consider only record.purpose for enabling certificates. |
src/features/user/Account/components/Certificates.tsx |
Modified shouldEnableCertificate function to disable certificates for 'bouquet' project purpose. |
src/features/user/BulkCodes/index.tsx |
Updated filtering logic to include project.properties.unitType being 'tree' for donation eligibility and currency criteria. |
In the garden of code, changes bloom, Certificates now find their room. Purpose defines what they can be, 'Bouquet' projects, now certificate-free. Trees stand tall in donation's light, Filtering logic, clear and bright. 🌳✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Changes:
unitType = m2
from permitted projects to generate bulk codespurpose = conservation
and projects withpurpose = tree, unitType = m2