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
74c795b2
Commit
74c795b2
authored
Mar 09, 2017
by
Daniel Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
panel: use meta.soloMode instead of url check
when checking if rendering a png for lazy loading of panels.
parent
c176de89
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
+1
-5
public/app/features/panel/panel_ctrl.ts
+1
-5
No files found.
public/app/features/panel/panel_ctrl.ts
View file @
74c795b2
...
...
@@ -76,12 +76,8 @@ export class PanelCtrl {
profiler
.
renderingCompleted
(
this
.
panel
.
id
,
this
.
timing
);
}
private
isRenderingPng
()
{
return
window
.
location
.
href
.
indexOf
(
"/dashboard-solo/db"
)
>=
0
;
}
refresh
()
{
if
(
!
this
.
isPanelVisible
()
&&
!
this
.
isRenderingPng
()
&&
!
this
.
dashboard
.
snapshot
)
{
if
(
!
this
.
isPanelVisible
()
&&
!
this
.
dashboard
.
meta
.
soloMode
&&
!
this
.
dashboard
.
snapshot
)
{
this
.
skippedLastRefresh
=
true
;
return
;
}
...
...
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