From bd46c639ec2b62542fa09c1359f6bb5902940aa5 Mon Sep 17 00:00:00 2001 From: Filip Gutica Date: Fri, 1 Nov 2024 12:54:33 -0700 Subject: [PATCH] fix: move editable to context --- .../dashboard-renderer/sandbox/pages/RendererDemo.vue | 3 +-- .../dashboard-renderer/src/components/BarChartRenderer.vue | 2 +- .../src/components/BaseAnalyticsChartRenderer.vue | 4 ++-- .../dashboard-renderer/src/components/DashboardTile.vue | 2 +- .../src/components/TimeseriesChartRenderer.vue | 2 +- .../src/types/dashboard-renderer-types.ts | 7 +------ 6 files changed, 7 insertions(+), 13 deletions(-) diff --git a/packages/analytics/dashboard-renderer/sandbox/pages/RendererDemo.vue b/packages/analytics/dashboard-renderer/sandbox/pages/RendererDemo.vue index e8c7ee3f14..e603e58700 100644 --- a/packages/analytics/dashboard-renderer/sandbox/pages/RendererDemo.vue +++ b/packages/analytics/dashboard-renderer/sandbox/pages/RendererDemo.vue @@ -46,6 +46,7 @@ const appLinks: SandboxNavigationItem[] = inject('app-links', []) const context: DashboardRendererContext = { filters: [], refreshInterval: 0, + editable: true, } const dashboardConfig: DashboardConfig = { @@ -136,7 +137,6 @@ const dashboardConfig: DashboardConfig = { datasource: 'basic', dimensions: ['route'], }, - editable: true, }, layout: { position: { @@ -159,7 +159,6 @@ const dashboardConfig: DashboardConfig = { datasource: 'basic', dimensions: ['time'], }, - editable: true, }, layout: { position: { diff --git a/packages/analytics/dashboard-renderer/src/components/BarChartRenderer.vue b/packages/analytics/dashboard-renderer/src/components/BarChartRenderer.vue index e8f61df26e..cc87b0473f 100644 --- a/packages/analytics/dashboard-renderer/src/components/BarChartRenderer.vue +++ b/packages/analytics/dashboard-renderer/src/components/BarChartRenderer.vue @@ -3,7 +3,7 @@