communityconnect icon indicating copy to clipboard operation
communityconnect copied to clipboard

[beginner friendly] display resource phone number in list on the left

Open galiat opened this issue 8 years ago • 5 comments

For example, the hotlines are not displaying a phone number right now.

galiat avatar Sep 04 '18 23:09 galiat

It is now showing the phone number, however. there is a spacing issue with a random comma appearing in the middle of the box.

ndesai06 avatar Sep 12 '18 00:09 ndesai06

The spacing issue looks like it might be blank spaces that are usually taken by the description and address.

SimonPringleWallace avatar Sep 12 '18 00:09 SimonPringleWallace

The phone issue is resolved.

I believe the address issues would be resolved on App.js, line 24, where element.location is defined. I believe it is a matter of just putting an if statement so that a blank comma is not left there if there if none of the address elements are present.

irvang avatar Sep 12 '18 01:09 irvang

Ok, I created a pull request addressing what I mentioned. It should not display the comma now when the Hotline category is selected.

irvang avatar Sep 12 '18 01:09 irvang

Issue is solved.

irvang avatar Sep 16 '18 14:09 irvang