dashboards.js: Remove some unnecessary codes

This commit is contained in:
Yonas Habteab 2022-05-19 17:41:10 +02:00
parent d05b8d9e2f
commit 707de5c4da

View File

@ -144,15 +144,12 @@
switch (groupName) {
case _this.widgetTypes.DashboardHome:
groupName = _this.widgetTypes.DashboardHome;
draggable = '.home-list-control';
break;
case _this.widgetTypes.Dashboard:
groupName = _this.widgetTypes.Dashboard;
draggable = '.dashboard-list-control';
break;
case _this.widgetTypes.Dashlet:
groupName = _this.widgetTypes.Dashlet;
draggable = '.dashlet-list-item';
}