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
69e5584d
Commit
69e5584d
authored
Nov 20, 2018
by
Johannes Schill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
react-panel: Avoid duplicate keys
parent
97f7a7fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
public/app/features/dashboard/dashgrid/EditorTabBody.tsx
+2
-2
No files found.
public/app/features/dashboard/dashgrid/EditorTabBody.tsx
View file @
69e5584d
...
@@ -57,7 +57,7 @@ export class EditorTabBody extends PureComponent<Props, State> {
...
@@ -57,7 +57,7 @@ export class EditorTabBody extends PureComponent<Props, State> {
renderMainSelection
(
view
:
EditorToolBarView
)
{
renderMainSelection
(
view
:
EditorToolBarView
)
{
return
(
return
(
<
div
className=
"toolbar__main"
onClick=
{
()
=>
this
.
onToggleToolBarView
(
view
)
}
key=
{
view
.
title
}
>
<
div
className=
"toolbar__main"
onClick=
{
()
=>
this
.
onToggleToolBarView
(
view
)
}
key=
{
view
.
title
+
view
.
icon
}
>
<
img
className=
"toolbar__main-image"
src=
{
view
.
imgSrc
}
/>
<
img
className=
"toolbar__main-image"
src=
{
view
.
imgSrc
}
/>
<
div
className=
"toolbar__main-name"
>
{
view
.
title
}
</
div
>
<
div
className=
"toolbar__main-name"
>
{
view
.
title
}
</
div
>
<
i
className=
"fa fa-caret-down"
/>
<
i
className=
"fa fa-caret-down"
/>
...
@@ -74,7 +74,7 @@ export class EditorTabBody extends PureComponent<Props, State> {
...
@@ -74,7 +74,7 @@ export class EditorTabBody extends PureComponent<Props, State> {
};
};
return
(
return
(
<
div
className=
"nav-buttons"
key=
{
view
.
title
}
>
<
div
className=
"nav-buttons"
key=
{
view
.
title
+
view
.
icon
}
>
<
button
className=
"btn navbar-button"
onClick=
{
onClick
}
disabled=
{
view
.
disabled
}
>
<
button
className=
"btn navbar-button"
onClick=
{
onClick
}
disabled=
{
view
.
disabled
}
>
{
view
.
icon
&&
<
i
className=
{
view
.
icon
}
/>
}
{
view
.
title
}
{
view
.
icon
&&
<
i
className=
{
view
.
icon
}
/>
}
{
view
.
title
}
</
button
>
</
button
>
...
...
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