From 5b8b648abb54e4d9393ca56439d6d5497cf1a020 Mon Sep 17 00:00:00 2001 From: Kanwar Ujjaval Singh <4216199+kanwarujjaval@users.noreply.github.com> Date: Thu, 9 Jun 2022 16:12:26 +0000 Subject: [PATCH] fix for default dimensions --- .../frontend/public/javascripts/countly.views.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/dashboards/frontend/public/javascripts/countly.views.js b/plugins/dashboards/frontend/public/javascripts/countly.views.js index da82107e895..97c84a437a9 100644 --- a/plugins/dashboards/frontend/public/javascripts/countly.views.js +++ b/plugins/dashboards/frontend/public/javascripts/countly.views.js @@ -231,6 +231,13 @@ height: 6 }; break; + default: + dimensions = { + minWidth: 4, + minHeight: 3, + width: 4, + height: 4 + }; } return dimensions; },