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

Added regex to fix unwanted string char. #1481

Merged
merged 2 commits into from
Mar 16, 2023

Conversation

funbunch
Copy link
Member

Fixes #1473

  • Up to date with dev branch
  • Branch name follows guidelines
  • All PR Status checks are successful
  • Peer reviewed and approved

Any questions? See the getting started guide

It seems the "/" char might be coming from the data we are getting back only from "metal appliances".

Screen Shot 2023-03-12 at 10 58 03 PM

Screen Shot 2023-03-12 at 10 58 36 PM

Added JS to strip that char and cleaned up styling size for the title.

Screen Shot 2023-03-13 at 1 44 38 PM

@funbunch funbunch linked an issue Mar 13, 2023 that may be closed by this pull request
@funbunch funbunch requested a review from edwinjue March 13, 2023 20:54
client/components/Map/RequestDetail.jsx Show resolved Hide resolved
@@ -115,7 +119,7 @@ class RequestDetail extends React.Component {
alignItems="center"
>
<Grid className={classes.requestType} item>
{typeName}
{replacedChar}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to update replacedChar with formattedTypeName

Copy link
Member

@edwinjue edwinjue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please go ahead and merge Shannan. I really appreciate the quick turnaround!

@funbunch funbunch merged commit b46e69c into dev Mar 16, 2023
@funbunch funbunch deleted the 1473-text-error-with-metal-appliances-search-filter branch March 16, 2023 00:30
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.

Text Error with Metal Appliances Search Filter
2 participants