From e841e4f21003b28b33104d1fca4432734e54a4a5 Mon Sep 17 00:00:00 2001 From: gnibeda Date: Mon, 19 Aug 2024 21:19:30 +0300 Subject: [PATCH] * changing `tile push` option now applied immediately without page refresh (#310) --- package.json | 2 +- .../screens/dashboard-screen/dashboard-screen.component.ts | 2 ++ src/changelog.md | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5c404525..49daffbe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "deep-see-web", - "version": "4.0.5", + "version": "4.0.6", "scripts": { "ng": "ng", "start": "ng serve --proxy-config=proxy.conf.samples-bi.js", diff --git a/src/app/components/screens/dashboard-screen/dashboard-screen.component.ts b/src/app/components/screens/dashboard-screen/dashboard-screen.component.ts index a4dac129..7d7f95f6 100644 --- a/src/app/components/screens/dashboard-screen/dashboard-screen.component.ts +++ b/src/app/components/screens/dashboard-screen/dashboard-screen.component.ts @@ -941,6 +941,8 @@ export class DashboardScreenComponent extends DashboardEditingClass implements O this.subSettingsChanged = this.ss.onSettingsChanged.subscribe(settings => { this.tilesOptions.maxCols = settings.colCount || DEFAULT_COL_COUNT; this.tilesOptions.minCols = this.tilesOptions.maxCols; + this.tilesOptions.pushItems = !settings.isTilePushDisabled; + this.tilesOptions.disablePushOnResize = !!settings.isTilePushDisabled; if (this.gridster) { this.gridster.optionsChanged(); setTimeout(() => { diff --git a/src/changelog.md b/src/changelog.md index 790a5c28..84cbdae6 100644 --- a/src/changelog.md +++ b/src/changelog.md @@ -1,3 +1,6 @@ +#### 4.0.6 +* changing `tile push` option now applied immediately without page refresh (#310) + #### 4.0.5 * added KPI drillthrough support for charts (analytics/#421) * fixed issue with sharing dashboard/widgets using base64 (analytics/#270)