@digital-ai/dot-components 4.4.0 → 4.4.2

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.
Files changed (2) hide show
  1. package/index.esm.js +2 -2
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -11171,7 +11171,7 @@ function DotDashboardDialog({
11171
11171
  onSubmit: handleSubmitCreate,
11172
11172
  submitButtonProps: {
11173
11173
  'data-testid': 'confirm-create-dashboard-button',
11174
- disabled: !name || isLoadingSubmit,
11174
+ disabled: !name || isLoadingSubmit || !validateFields(),
11175
11175
  label: 'Continue'
11176
11176
  },
11177
11177
  title: title || 'Create dashboard',
@@ -11945,7 +11945,7 @@ function DotDashboardOptionsMenu({
11945
11945
  onUpdatedProperties(result, isDone);
11946
11946
  }
11947
11947
  });
11948
- }), [dashboard]);
11948
+ }), [dashboard, onUpdatedProperties, updateDashboard]);
11949
11949
  const isDraft = dashboard.lifecycle_state === DashboardView.lifecycle_state.DRAFT;
11950
11950
  const isPublished = dashboard.lifecycle_state === DashboardView.lifecycle_state.PUBLISHED;
11951
11951
  const dashboardLocked = isPublished && currentUser && dashboard.is_being_modified && dashboard.modified_author_id !== currentUser.id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "4.4.0",
3
+ "version": "4.4.2",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [