@trops/dash-core 0.1.286 → 0.1.287

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/dist/index.esm.js CHANGED
@@ -25,7 +25,6 @@ import _possibleConstructorReturn from '@babel/runtime/helpers/possibleConstruct
25
25
  import _getPrototypeOf from '@babel/runtime/helpers/getPrototypeOf';
26
26
  import _inherits from '@babel/runtime/helpers/inherits';
27
27
  import colors from 'tailwindcss/colors';
28
- import _readOnlyError from '@babel/runtime/helpers/readOnlyError';
29
28
  import * as ReactDOM from 'react-dom';
30
29
  import { createPortal } from 'react-dom';
31
30
  import algoliasearch from 'algoliasearch';
@@ -50417,7 +50416,7 @@ var DashboardStageInner = function DashboardStageInner(_ref2) {
50417
50416
  // Clean orphaned layout items and stale listener references before save
50418
50417
  var dashboardForCleanup = new DashboardModel(workspaceToSave);
50419
50418
  dashboardForCleanup.cleanOrphanedItems();
50420
- dashboardForCleanup.workspace(), _readOnlyError("workspaceToSave");
50419
+ workspaceToSave = dashboardForCleanup.workspace();
50421
50420
 
50422
50421
  // lets set a version so that we can compare...
50423
50422
  workspaceToSave["version"] = Date.now();