From 88f6526d9afcf80220d1aaea0fa2bb418ae5a074 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Fri, 12 May 2017 10:51:51 +0200 Subject: [PATCH] do not display avatar for "not assigned" --- .../components/issue/popups/SetAssigneePopup.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.js b/server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.js index 25c1f31a5e8..9a4243e65ad 100644 --- a/server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.js +++ b/server/sonar-web/src/main/js/components/issue/popups/SetAssigneePopup.js @@ -141,16 +141,17 @@ export default class SetAssigneePopup extends React.PureComponent { onSelect={this.props.onSelect}> {this.state.users.map(user => ( - + {!!user.login && + } + style={{ marginLeft: !user.login ? 24 : undefined }}> {user.name} -- 2.39.5