You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by on...@apache.org on 2014/12/17 17:03:56 UTC
ambari git commit: AMBARI-8757. Redundant "Members" column's value
for group without members (onechiporenko)
Repository: ambari
Updated Branches:
refs/heads/trunk 1c79b8126 -> 97115a760
AMBARI-8757. Redundant "Members" column's value for group without members (onechiporenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/97115a76
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/97115a76
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/97115a76
Branch: refs/heads/trunk
Commit: 97115a760f43f3b0c2d75cd71a6837434971c250
Parents: 1c79b81
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Wed Dec 17 17:30:43 2014 +0200
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Wed Dec 17 17:30:43 2014 +0200
----------------------------------------------------------------------
.../src/main/resources/ui/admin-web/app/views/groups/list.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/97115a76/ambari-admin/src/main/resources/ui/admin-web/app/views/groups/list.html
----------------------------------------------------------------------
diff --git a/ambari-admin/src/main/resources/ui/admin-web/app/views/groups/list.html b/ambari-admin/src/main/resources/ui/admin-web/app/views/groups/list.html
index fefe6fb..ab268d3 100644
--- a/ambari-admin/src/main/resources/ui/admin-web/app/views/groups/list.html
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/views/groups/list.html
@@ -54,7 +54,7 @@
<link-to route="groups.edit" class="link-to-group" id="{{group.group_name}}">{{group.group_name}}</link-to>
</td>
<td class="col-sm-2">{{group.ldap_group ? 'LDAP' : 'Local'}}</td>
- <td class="col-sm-2">{{group.members.length}} {{group.members.length === 1 ? 'member' : 'members'}}</td>
+ <td class="col-sm-2">{{group.members ? group.members.length : 0}} {{group.members.length === 1 ? 'member' : 'members'}}</td>
</tr>
</tbody>
</table>