diff --git a/web/client/configs/localConfig.json b/web/client/configs/localConfig.json index 649cbce9fc..51a4ee8638 100644 --- a/web/client/configs/localConfig.json +++ b/web/client/configs/localConfig.json @@ -557,10 +557,7 @@ } }, "OmniBar", "Login", "Save", "SaveAs", "Expander", "Undo", "Redo", "FullScreen", "GlobeViewSwitcher", "SearchServicesConfig", "SearchByBookmark", "WidgetsBuilder", { - "name": "Widgets", - "cfg": { - "enableZoomInTblWidget": true - } + "name": "Widgets" }, "WidgetsTray", { @@ -749,10 +746,7 @@ "dashboard": [ "BurgerMenu", { - "name": "Dashboard", - "cfg": { - "enableZoomInTblWidget": true - } + "name": "Dashboard" }, "Notifications", "Login", diff --git a/web/client/plugins/Widgets.jsx b/web/client/plugins/Widgets.jsx index 5df65050fa..a2dd248c2e 100644 --- a/web/client/plugins/Widgets.jsx +++ b/web/client/plugins/Widgets.jsx @@ -144,10 +144,10 @@ compose( } : {}; const widthOptions = width ? {width: viewWidth - 1} : {}; const baseHeight = isSingleWidgetLayout - ? rowHeight + ? rowHeight || rowHeightRecalculated : Math.floor((height - 100) / (rowHeightRecalculated + 10)) * (rowHeightRecalculated + 10); return ({ - rowHeight: isSingleWidgetLayout ? rowHeightRecalculated : rowHeight, + rowHeight: isSingleWidgetLayout ? rowHeightRecalculated : rowHeight || rowHeightRecalculated, className: "on-map", breakpoints: isSingleWidgetLayout ? { xxs: 0 } : { md: 0 }, cols: cols || { md: 6, xxs: 1 },