Commit 32fb24f2 by Johannes Schill

Update test-snapshot, remove dead code #13411

parent 60866d16
......@@ -176,7 +176,7 @@ export class ApiKeysPage extends PureComponent<Props, any> {
<td>{key.name}</td>
<td>{key.role}</td>
<td>
<a onClick={this.onDeleteApiKey(key)} className="btn btn-danger btn-mini">
<a onClick={() => this.onDeleteApiKey(key)} className="btn btn-danger btn-mini">
<i className="fa fa-remove" />
</a>
</td>
......@@ -197,7 +197,6 @@ function mapStateToProps(state) {
navModel: getNavModel(state.navIndex, 'apikeys'),
apiKeys: getApiKeys(state.apiKeys),
searchQuery: state.apiKeys.searchQuery,
// searchQuery: getSearchQuery(state.teams),
};
}
......
......@@ -174,6 +174,7 @@ exports[`Render should render API keys table 1`] = `
<td>
<a
className="btn btn-danger btn-mini"
onClick={[Function]}
>
<i
className="fa fa-remove"
......@@ -193,6 +194,7 @@ exports[`Render should render API keys table 1`] = `
<td>
<a
className="btn btn-danger btn-mini"
onClick={[Function]}
>
<i
className="fa fa-remove"
......@@ -212,6 +214,7 @@ exports[`Render should render API keys table 1`] = `
<td>
<a
className="btn btn-danger btn-mini"
onClick={[Function]}
>
<i
className="fa fa-remove"
......@@ -231,6 +234,7 @@ exports[`Render should render API keys table 1`] = `
<td>
<a
className="btn btn-danger btn-mini"
onClick={[Function]}
>
<i
className="fa fa-remove"
......@@ -250,6 +254,7 @@ exports[`Render should render API keys table 1`] = `
<td>
<a
className="btn btn-danger btn-mini"
onClick={[Function]}
>
<i
className="fa fa-remove"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment