Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix/add custom-projects to BO datasource, type projectName column #127

Merged
merged 1 commit into from
Nov 30, 2024

Conversation

alexeh
Copy link
Collaborator

@alexeh alexeh commented Nov 30, 2024

This pull request includes several changes to the admin and shared/entities files to improve the handling of custom projects and fix formatting issues. The most important changes include adding the CustomProject entity to the admin data source, updating the CustomProject entity class, and fixing formatting issues in the admin/index.ts file.

Handling of Custom Projects:

  • admin/datasource.ts: Added the CustomProject entity to the ADMINJS_ENTITIES array to include it in the admin data source.
  • shared/entities/custom-project.entity.ts: Updated the CustomProject entity class by adding a type to the projectName column and modifying the class comment to reflect its usage.

Formatting Fixes:

  • admin/index.ts: Fixed formatting issues by correcting the indentation and closing braces in multiple locations. [1] [2] [3]

Copy link

vercel bot commented Nov 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tnc-blue-carbon-cost-tool-ghps ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2024 5:13am

@alexeh alexeh merged commit bb52c83 into dev Nov 30, 2024
4 checks passed
@alexeh alexeh deleted the bufgix/fix-admin branch November 30, 2024 05:13
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.

1 participant