Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
32fb24f2
Commit
32fb24f2
authored
Sep 26, 2018
by
Johannes Schill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test-snapshot, remove dead code #13411
parent
60866d16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
public/app/features/api-keys/ApiKeysPage.tsx
+1
-2
public/app/features/api-keys/__snapshots__/ApiKeysPage.test.tsx.snap
+5
-0
No files found.
public/app/features/api-keys/ApiKeysPage.tsx
View file @
32fb24f2
...
...
@@ -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),
};
}
...
...
public/app/features/api-keys/__snapshots__/ApiKeysPage.test.tsx.snap
View file @
32fb24f2
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment