Fixes an issue of displaying "Reports to" for members who don't have that field, and adds a link to the "Reports to" member that brings up their sidebar view.
The href is unfortunately a lil verbose, because state.get('member').reportsTo returns a string, not the member object. Also, I wonder if there's a way to use a single div instead of the doubly nested thing I ended up with...
Fixes an issue of displaying "Reports to" for members who don't have that field, and adds a link to the "Reports to" member that brings up their sidebar view.
The href is unfortunately a lil verbose, because
state.get('member').reportsTo
returns a string, not the member object. Also, I wonder if there's a way to use a single div instead of the doubly nested thing I ended up with...