@@ -238,7 +238,7 @@ StyledItem {
238 readonly property alias icon: badge.source
238 readonly property alias icon: badge.source
240 visible: LightDMService.sessions.count > 1 &&
240 visible: LightDMService.sessions.count > 1 &&
241− !LightDMService.greeter.lockscreen
241+ !LightDMService.users.data(userList.currentIndex, LightDMService.userRoles.LoggedInRole)
243 height: units.gu(3)
243 height: units.gu(3)
244 width: units.gu(3)
244 width: units.gu(3)