Get Property Managers by new API when editing a property
Chris-Boe opened this issue · 0 comments
Describe the bug
A clear and concise description of what the bug is.
When editing a property, the page does a call to /api/user?r=2, which has been deprecated in favor of /api/property_managers.
Other searches for "user?r=" return uses in the EditTicketModalFetches.js file, these will need to be replaced as well
To Reproduce
Steps to reproduce the behavior:
- Go to Property list page
- Click on a property
- Click into Edit mode by clicking the pencil icon
- Try searching for a property manager
- See no results - pm's were not fetched correctly
Expected behavior
A clear and concise description of what you expected to happen.
list of property managers is properly fetched from backend and displayed in the search results
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.