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

fix: enable line filter for FRAM #251

Merged
merged 1 commit into from
Mar 4, 2024
Merged

Conversation

mortennordseth
Copy link
Contributor

Currently, the NFK env variable NEXT_PUBLIC_DISABLE_LINE_FILTER is used for FRAM because FRAM hasn't defined one. I've added the env variable to all organisations to prevent this from happening. We could look into "resetting" the env variables between each build as well, but this will fix the issue for now.

Copy link

vercel bot commented Mar 4, 2024

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

Name Status Preview Updated (UTC)
planner-web ✅ Ready (Inspect) Visit Preview Mar 4, 2024 11:29am

@adriansberg
Copy link
Contributor

Wouldn't it be easier to instead make sure that disableLineFilter is false when the env variable is not present? E.g. by using nullish coalescing.

@mortennordseth
Copy link
Contributor Author

Wouldn't it be easier to instead make sure that disableLineFilter is false when the env variable is not present? E.g. by using nullish coalescing.

I think we could improve this by resetting every env variable before each build. Not sure what is the best approach to this, but I'll merge this for now and we can look into it.

@mortennordseth mortennordseth merged commit a3ec580 into main Mar 4, 2024
5 checks passed
@mortennordseth mortennordseth deleted the morten/add-line-filter-fram branch March 4, 2024 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants