diff --git a/client/coral-admin/src/routes/Community/components/Table.js b/client/coral-admin/src/routes/Community/components/Table.js
index 009ff90de..fb4526a4d 100644
--- a/client/coral-admin/src/routes/Community/components/Table.js
+++ b/client/coral-admin/src/routes/Community/components/Table.js
@@ -34,7 +34,6 @@ const Table = ({headers, commenters, onHeaderClickHandler, onRoleChange, onComme
onCommenterStatusChange(row.id, status)}>
@@ -43,8 +42,7 @@ const Table = ({headers, commenters, onHeaderClickHandler, onRoleChange, onComme
|
onRoleChange(row.id, role)}>
diff --git a/client/coral-ui/components/Dropdown.js b/client/coral-ui/components/Dropdown.js
index 84b1d9139..b2b2d2171 100644
--- a/client/coral-ui/components/Dropdown.js
+++ b/client/coral-ui/components/Dropdown.js
@@ -69,10 +69,10 @@ class Dropdown extends React.Component {
const options = React.Children.toArray(this.props.children);
const option = options.find((option) => option.props.value === this.props.value);
- if (option.label) {
- return option.label;
- } else if(option.value) {
- return option.value;
+ if (option.props.label) {
+ return option.props.label;
+ } else if(option.props.value) {
+ return option.props.value;
} else {
return this.props.placeholder;
}
|