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
1955c391
Unverified
Commit
1955c391
authored
Apr 24, 2020
by
Torkel Ödegaard
Committed by
GitHub
Apr 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PanelEditor: Fixed switch tabs (#23859)
parent
51c19da9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
public/app/features/dashboard/components/PanelEditor/state/selectors.ts
+1
-1
public/app/features/dashboard/components/TransformationsEditor/TransformationsEditor.tsx
+1
-0
No files found.
public/app/features/dashboard/components/PanelEditor/state/selectors.ts
View file @
1955c391
...
@@ -43,7 +43,7 @@ export const getPanelEditorTabs = memoizeOne((location: LocationState, plugin?:
...
@@ -43,7 +43,7 @@ export const getPanelEditorTabs = memoizeOne((location: LocationState, plugin?:
});
});
}
}
const
activeTab
=
tabs
.
find
(
item
=>
item
.
id
===
location
.
query
.
tab
||
defaultTab
)
??
tabs
[
0
];
const
activeTab
=
tabs
.
find
(
item
=>
item
.
id
===
(
location
.
query
.
tab
||
defaultTab
)
)
??
tabs
[
0
];
activeTab
.
active
=
true
;
activeTab
.
active
=
true
;
return
tabs
;
return
tabs
;
...
...
public/app/features/dashboard/components/TransformationsEditor/TransformationsEditor.tsx
View file @
1955c391
...
@@ -125,6 +125,7 @@ export class TransformationsEditor extends React.PureComponent<Props> {
...
@@ -125,6 +125,7 @@ export class TransformationsEditor extends React.PureComponent<Props> {
{
standardTransformersRegistry
.
list
().
map
(
t
=>
{
{
standardTransformersRegistry
.
list
().
map
(
t
=>
{
return
(
return
(
<
TransformationCard
<
TransformationCard
key=
{
t
.
name
}
title=
{
t
.
name
}
title=
{
t
.
name
}
description=
{
t
.
description
}
description=
{
t
.
description
}
actions=
{
<
Button
>
Select
</
Button
>
}
actions=
{
<
Button
>
Select
</
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