-
Notifications
You must be signed in to change notification settings - Fork 73
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
Lf 4015 hotfix routes #3081
Lf 4015 hotfix routes #3081
Conversation
Also remove orphan misnamed function from last commit
… of constant file
Also one missing add custom expense constant
@@ -0,0 +1,60 @@ | |||
/* | |||
* Copyright 2023 LiteFarm.org |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2024! 😆
Thank you for working on this, I will start testing now!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised we didn't have more of that these last two weeks!
Looks good to me, at least on paper! I think we should merge it sooner rather than later to get more testing time on beta. Should we remove the deprecated routes file as part of this PR too? |
@@ -901,7 +899,6 @@ const Routes = ({ isCompactSideMenu }) => { | |||
/> | |||
<Route path="/finances" component={Finances} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@antsgar Just noticed.. is this missing a /finances/*
like the other one in this file?
exact | ||
component={ReadOnlyCustomRevenue} | ||
/> | ||
<Route | ||
path="/finances/edit_custom_revenue/:revenue_type_id" | ||
path={createEditCustomRevenueUrl(':revenue_type_id')} | ||
exact | ||
component={EditCustomRevenue} | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@antsgar The redirect below this line.. should it be redirecting from /finances
to FINANCES_HOME_URL ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure honestly, I think I copied that from similar files
@antsgar I see it as deleted 🤔 |
Description
Fixing finances routes.
Jira link:
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: