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
47965848
Commit
47965848
authored
Jan 29, 2018
by
Alexander Zobnin
Committed by
Torkel Ödegaard
Jan 29, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: remove repeated rows when repeat was disabled. (#10653)
parent
04053ec5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
public/app/features/dashboard/dashgrid/DashboardRow.tsx
+7
-1
No files found.
public/app/features/dashboard/dashgrid/DashboardRow.tsx
View file @
47965848
...
@@ -27,6 +27,7 @@ export class DashboardRow extends React.Component<DashboardRowProps, any> {
...
@@ -27,6 +27,7 @@ export class DashboardRow extends React.Component<DashboardRowProps, any> {
this
.
toggle
=
this
.
toggle
.
bind
(
this
);
this
.
toggle
=
this
.
toggle
.
bind
(
this
);
this
.
openSettings
=
this
.
openSettings
.
bind
(
this
);
this
.
openSettings
=
this
.
openSettings
.
bind
(
this
);
this
.
delete
=
this
.
delete
.
bind
(
this
);
this
.
delete
=
this
.
delete
.
bind
(
this
);
this
.
update
=
this
.
update
.
bind
(
this
);
}
}
toggle
()
{
toggle
()
{
...
@@ -37,13 +38,18 @@ export class DashboardRow extends React.Component<DashboardRowProps, any> {
...
@@ -37,13 +38,18 @@ export class DashboardRow extends React.Component<DashboardRowProps, any> {
});
});
}
}
update
()
{
this
.
dashboard
.
processRepeats
();
this
.
forceUpdate
();
}
openSettings
()
{
openSettings
()
{
appEvents
.
emit
(
'show-modal'
,
{
appEvents
.
emit
(
'show-modal'
,
{
templateHtml
:
`<row-options row="model.row" on-updated="model.onUpdated()" dismiss="dismiss()"></row-options>`
,
templateHtml
:
`<row-options row="model.row" on-updated="model.onUpdated()" dismiss="dismiss()"></row-options>`
,
modalClass
:
'modal--narrow'
,
modalClass
:
'modal--narrow'
,
model
:
{
model
:
{
row
:
this
.
props
.
panel
,
row
:
this
.
props
.
panel
,
onUpdated
:
this
.
forceU
pdate
.
bind
(
this
),
onUpdated
:
this
.
u
pdate
.
bind
(
this
),
},
},
});
});
}
}
...
...
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