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
2333cf3f
Commit
2333cf3f
authored
Mar 13, 2019
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved error handling when rendering dashboard panels, fixes #15913
parent
e31029ad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
public/app/features/dashboard/containers/DashboardPage.tsx
+9
-3
No files found.
public/app/features/dashboard/containers/DashboardPage.tsx
View file @
2333cf3f
...
...
@@ -163,14 +163,20 @@ export class DashboardPage extends PureComponent<Props, State> {
fullscreenPanel
:
null
,
scrollTop
:
this
.
state
.
rememberScrollTop
,
},
()
=>
{
dashboard
.
render
();
}
this
.
triggerPanelsRendering
.
bind
(
this
)
);
this
.
setPanelFullscreenClass
(
false
);
}
triggerPanelsRendering
()
{
try
{
this
.
props
.
dashboard
.
render
();
}
catch
(
err
)
{
this
.
props
.
notifyApp
(
createErrorNotification
(
`Panel rendering error`
,
err
));
}
}
handleFullscreenPanelNotFound
(
urlPanelId
:
string
)
{
// Panel not found
this
.
props
.
notifyApp
(
createErrorNotification
(
`Panel with id
${
urlPanelId
}
not found`
));
...
...
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