noobling / Homefornow

Current beta website
https://www.homefornow.org.au
MIT License
8 stars 3 forks source link

Fix bug where we can't update the smoking amenity and shared and private amenity #87

Closed noobling closed 6 years ago

noobling commented 6 years ago

I think the cause is probably is service controller under the amenities function to could be hairy fixing it since another part of the controller relies on this if changed could break that part. So I am thinking a quick and dirty way just to copy the code and create new function very similar to that but with our required changes to use when needed.

Shared and private dont work too just produces null

noobling commented 6 years ago

Update: fixed smoking to show the smoking amenity but the no smoking doesn't work since it is different logic to the other amenities in the findAmenityToUpdate function. The shared bathroom and private bathroom has not been implemented yet.