diff --git a/js/components/forms/members_list.js b/js/components/forms/members_list.js index 75eea181..bc5a872f 100644 --- a/js/components/forms/members_list.js +++ b/js/components/forms/members_list.js @@ -66,12 +66,14 @@ export default { { displayName: 'Name', attr: 'name', - sortFunc: alphabeticalSort + sortFunc: alphabeticalSort, + width: "50%" }, { displayName: 'Environments', attr: 'num_env', - sortFunc: numericSort + sortFunc: numericSort, + class: "table-cell--align-right" }, { displayName: 'Status', @@ -118,5 +120,8 @@ export default { this.sortInfo.columnName = columnName }, + getColumns: function() { + return Object.values(this.sortInfo.columns) + } } } diff --git a/templates/workspaces/members/index.html b/templates/workspaces/members/index.html index 26d6e083..ef932607 100644 --- a/templates/workspaces/members/index.html +++ b/templates/workspaces/members/index.html @@ -2,6 +2,7 @@ {% from "components/empty_state.html" import EmptyState %} {% from "components/alert.html" import Alert %} +{% from "components/icon.html" import Icon %} {% block workspace_content %} @@ -82,10 +83,15 @@
Name | -Environments | -Status | -Workspace Role | ++ !{ col.displayName } + + {{ Icon("caret_down") }} + + + {{ Icon("caret_up") }} + + |
---|