Use correct path to full_name

The full_name property is on the portfolio_role, not an intermidiate
user property
This commit is contained in:
graham-dds 2019-08-29 09:19:42 -04:00
parent 2a265e4eba
commit 3e9c082ac5

View File

@ -188,7 +188,7 @@ def remove_member(portfolio_id, portfolio_role_id):
# roles they might have?
PortfolioRoles.disable(portfolio_role=portfolio_role)
flash("portfolio_member_removed", member_name=portfolio_role.user.full_name)
flash("portfolio_member_removed", member_name=portfolio_role.full_name)
return redirect(
url_for(