@digital-ai/dot-components 4.17.2 → 4.17.3
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 +4 -4
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -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
|
});
|