@digital-ai/dot-components 4.17.2 → 4.17.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +6 -6
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -6302,11 +6302,11 @@ const StyledAppToolbar = styled.header`
|
|
|
6302
6302
|
.primary-logo,
|
|
6303
6303
|
.dot-app-logo {
|
|
6304
6304
|
display: flex;
|
|
6305
|
-
max-width:
|
|
6305
|
+
max-width: 200px;
|
|
6306
6306
|
svg,
|
|
6307
6307
|
img {
|
|
6308
6308
|
max-height: 36px;
|
|
6309
|
-
max-width:
|
|
6309
|
+
max-width: 200px;
|
|
6310
6310
|
}
|
|
6311
6311
|
}
|
|
6312
6312
|
|
|
@@ -10489,11 +10489,11 @@ const DotMetadataApiProvider = ({
|
|
|
10489
10489
|
if (dashboardToDelete.in_progress_changes || dashboardToDelete.parent_id) {
|
|
10490
10490
|
// Use the parent ID if it exists (in-progress dashboard) or the current ID (published dashboard)
|
|
10491
10491
|
const dashboardId = dashboardToDelete.parent_id ? dashboardToDelete.parent_id : dashboardToDelete.id;
|
|
10492
|
-
deletePromise = cancelablePromise(DashboardsService.deleteInProgressDashboard(dashboardId,
|
|
10493
|
-
return DashboardsService.deleteDashboard(dashboardId,
|
|
10492
|
+
deletePromise = cancelablePromise(DashboardsService.deleteInProgressDashboard(dashboardId, accountId, false).then(() => {
|
|
10493
|
+
return DashboardsService.deleteDashboard(dashboardId, accountId);
|
|
10494
10494
|
}));
|
|
10495
10495
|
} else {
|
|
10496
|
-
deletePromise = cancelablePromise(DashboardsService.deleteDashboard(dashboardToDelete.id,
|
|
10496
|
+
deletePromise = cancelablePromise(DashboardsService.deleteDashboard(dashboardToDelete.id, accountId));
|
|
10497
10497
|
}
|
|
10498
10498
|
return deletePromise.then(() => {
|
|
10499
10499
|
setDashboardsError(null);
|
|
@@ -12499,7 +12499,7 @@ function DotDashboardOptionsMenu({
|
|
|
12499
12499
|
type: "text",
|
|
12500
12500
|
startIcon: jsx(DotIcon, {
|
|
12501
12501
|
className: isEdit ? 'disabled-menu-item' : '',
|
|
12502
|
-
iconId: "edit"
|
|
12502
|
+
iconId: "mass-edit"
|
|
12503
12503
|
}),
|
|
12504
12504
|
children: "Edit properties"
|
|
12505
12505
|
});
|