diff --git a/frontend/src/component/history/history-list-component.jsx b/frontend/src/component/history/history-list-component.jsx
index 20d4539cfd..15e7c4d7a2 100644
--- a/frontend/src/component/history/history-list-component.jsx
+++ b/frontend/src/component/history/history-list-component.jsx
@@ -15,6 +15,7 @@ class HistoryList extends Component {
settings: PropTypes.object,
location: PropTypes.object,
updateSetting: PropTypes.func.isRequired,
+ hideName: PropTypes.bool,
};
toggleShowDiff() {
@@ -25,7 +26,7 @@ class HistoryList extends Component {
}
render() {
const showData = this.props.settings.showData;
- const { history } = this.props;
+ const { history, hideName } = this.props;
if (!history || history.length < 0) {
return null;
}
@@ -34,6 +35,7 @@ class HistoryList extends Component {
{v}
@@ -51,6 +53,7 @@ class HistoryList extends Component {
Object.assign(
{
diff: ,
+ name: entry.data.name,
},
entry
)
@@ -58,12 +61,19 @@ class HistoryList extends Component {
className={commonStyles.fullwidth}
style={{ border: 0, tableLayout: 'fixed', minWidth: '840px' }}
>
-
+
Type
User
+ {hideName ? (
+ []
+ ) : (
+
+ Feature Toggle
+
+ )}
Diff
fetching..;
}
const { history } = this.props;
- return ;
+ return ;
}
}