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
137b47cc
Unverified
Commit
137b47cc
authored
Apr 08, 2020
by
Torkel Ödegaard
Committed by
GitHub
Apr 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NewPanelEdit: Minor fixes (#23425)
parent
05ea1590
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
public/app/features/dashboard/components/PanelEditor/PanelOptionsTab.tsx
+3
-1
public/app/features/dashboard/components/PanelEditor/state/actions.ts
+4
-1
No files found.
public/app/features/dashboard/components/PanelEditor/PanelOptionsTab.tsx
View file @
137b47cc
...
...
@@ -85,7 +85,9 @@ export const PanelOptionsTab: FC<Props> = ({
}
if
(
plugin
.
angularPanelCtrl
)
{
elements
.
push
(<
AngularPanelOptions
panel=
{
panel
}
dashboard=
{
dashboard
}
plugin=
{
plugin
}
/>);
elements
.
push
(
<
AngularPanelOptions
panel=
{
panel
}
dashboard=
{
dashboard
}
plugin=
{
plugin
}
key=
"angular panel options"
/>
);
}
elements
.
push
(
...
...
public/app/features/dashboard/components/PanelEditor/state/actions.ts
View file @
137b47cc
...
...
@@ -54,7 +54,10 @@ export function panelEditorCleanUp(): ThunkResult<void> {
// Resend last query result on source panel query runner
// But do this after the panel edit editor exit process has completed
setTimeout
(()
=>
{
sourcePanel
.
getQueryRunner
().
pipeDataToSubject
(
panel
.
getQueryRunner
().
getLastResult
());
const
lastResult
=
panel
.
getQueryRunner
().
getLastResult
();
if
(
lastResult
)
{
sourcePanel
.
getQueryRunner
().
pipeDataToSubject
(
lastResult
);
}
},
20
);
}
...
...
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