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
b590c4da
Unverified
Commit
b590c4da
authored
Feb 11, 2019
by
Torkel Ödegaard
Committed by
GitHub
Feb 11, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15371 from grafana/react-panels-request-id-fix
Fixed issue with gauge requests being cancelled
parents
e38cfc1a
fc91e1cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
public/app/features/dashboard/dashgrid/DataPanel.tsx
+1
-2
public/app/features/dashboard/dashgrid/PanelChrome.tsx
+1
-0
No files found.
public/app/features/dashboard/dashgrid/DataPanel.tsx
View file @
b590c4da
...
@@ -28,7 +28,7 @@ interface RenderProps {
...
@@ -28,7 +28,7 @@ interface RenderProps {
export
interface
Props
{
export
interface
Props
{
datasource
:
string
|
null
;
datasource
:
string
|
null
;
queries
:
any
[];
queries
:
any
[];
panelId
?
:
number
;
panelId
:
number
;
dashboardId
?:
number
;
dashboardId
?:
number
;
isVisible
?:
boolean
;
isVisible
?:
boolean
;
timeRange
?:
TimeRange
;
timeRange
?:
TimeRange
;
...
@@ -50,7 +50,6 @@ export interface State {
...
@@ -50,7 +50,6 @@ export interface State {
export
class
DataPanel
extends
Component
<
Props
,
State
>
{
export
class
DataPanel
extends
Component
<
Props
,
State
>
{
static
defaultProps
=
{
static
defaultProps
=
{
isVisible
:
true
,
isVisible
:
true
,
panelId
:
1
,
dashboardId
:
1
,
dashboardId
:
1
,
};
};
...
...
public/app/features/dashboard/dashgrid/PanelChrome.tsx
View file @
b590c4da
...
@@ -149,6 +149,7 @@ export class PanelChrome extends PureComponent<Props, State> {
...
@@ -149,6 +149,7 @@ export class PanelChrome extends PureComponent<Props, State> {
this
.
renderPanel
(
false
,
panel
.
snapshotData
,
width
,
height
)
this
.
renderPanel
(
false
,
panel
.
snapshotData
,
width
,
height
)
)
:
(
)
:
(
<
DataPanel
<
DataPanel
panelId=
{
panel
.
id
}
datasource=
{
datasource
}
datasource=
{
datasource
}
queries=
{
targets
}
queries=
{
targets
}
timeRange=
{
timeRange
}
timeRange=
{
timeRange
}
...
...
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