Closed janeenault closed 2 years ago
Fixes #40
This PR builds on the solution for Issue #46 - dries it up by moving that solution to a reusable hook and then applying it to the portfolio view and edit page.
Also includes a fix for a scrolling issue on the Edit Portfolio page.
Here's some screenshots from my devstack:
p.s. it might be easier to simply merge this PR and NOT merge https://github.com/ProjectDrawdown/global-research-platform/pull/70 - since this PR contains the fix introduced there.
Nice custom hook to DRY up the filtering. Good pattern for future updates as well. Thanks!
Fixes #40
This PR builds on the solution for Issue #46 - dries it up by moving that solution to a reusable hook and then applying it to the portfolio view and edit page.
Also includes a fix for a scrolling issue on the Edit Portfolio page.
Here's some screenshots from my devstack:![image](https://user-images.githubusercontent.com/61206123/126914448-91034f00-006e-4105-bd0c-f189eae7f8a2.png)
p.s. it might be easier to simply merge this PR and NOT merge https://github.com/ProjectDrawdown/global-research-platform/pull/70 - since this PR contains the fix introduced there.