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

chore: replace hardcoded urls with RouteName enum #255

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

onmax
Copy link
Member

@onmax onmax commented Jan 24, 2025

Replace all hardcoded paths with RouteName enum:

  • $router.push('')-> $router.push({ name: RouteName.XXX })
  • $router.replace('')-> $router.replace({ name: RouteName.XXX })

I had some issues with the routes / and /transactions as it was giving me some issues in mobile.

I decided to leave that out to not bother with that issue at the moment.

TODO

  • Re-generate en.po file (some lines changed), but I don't want to deal with merge conflicts. Better to do that before merging to master?

@onmax onmax changed the base branch from master to jeff/misc_from_sinpe_branch January 24, 2025 09:01
@onmax onmax force-pushed the onmax/route-name branch 4 times, most recently from 1757678 to 4afccb8 Compare January 24, 2025 09:26
@onmax onmax marked this pull request as ready for review January 24, 2025 09:30
@jeffesquivels jeffesquivels merged commit 91fffb4 into jeff/misc_from_sinpe_branch Jan 24, 2025
1 check passed
@jeffesquivels jeffesquivels deleted the onmax/route-name branch January 24, 2025 21:50
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.

2 participants