mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
dashboardgrid: disable dynamic_dashboard_srv for now
The row concept is probably going to change a lot so disabling the repeating panels and repeating rows code and tests for now.
This commit is contained in:
parent
3a089dd04c
commit
5272dd6605
@ -27,6 +27,7 @@ export class DynamicDashboardSrv {
|
|||||||
var cleanUpOnly = options.cleanUpOnly;
|
var cleanUpOnly = options.cleanUpOnly;
|
||||||
var i, j, row, panel;
|
var i, j, row, panel;
|
||||||
|
|
||||||
|
if (this.dashboard.rows) {
|
||||||
// cleanup scopedVars
|
// cleanup scopedVars
|
||||||
for (i = 0; i < this.dashboard.rows.length; i++) {
|
for (i = 0; i < this.dashboard.rows.length; i++) {
|
||||||
row = this.dashboard.rows[i];
|
row = this.dashboard.rows[i];
|
||||||
@ -69,6 +70,7 @@ export class DynamicDashboardSrv {
|
|||||||
row.panelSpanChanged();
|
row.panelSpanChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// returns a new row clone or reuses a clone from previous iteration
|
// returns a new row clone or reuses a clone from previous iteration
|
||||||
getRowClone(sourceRow, repeatIndex, sourceRowIndex) {
|
getRowClone(sourceRow, repeatIndex, sourceRowIndex) {
|
||||||
|
@ -5,7 +5,7 @@ import {DynamicDashboardSrv} from '../dynamic_dashboard_srv';
|
|||||||
|
|
||||||
function dynamicDashScenario(desc, func) {
|
function dynamicDashScenario(desc, func) {
|
||||||
|
|
||||||
describe(desc, function() {
|
describe.skip(desc, function() {
|
||||||
var ctx: any = {};
|
var ctx: any = {};
|
||||||
|
|
||||||
ctx.setup = function (setupFunc) {
|
ctx.setup = function (setupFunc) {
|
||||||
|
Loading…
Reference in New Issue
Block a user