@onehat/ui 0.3.248 → 0.3.249

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/ui",
3
- "version": "0.3.248",
3
+ "version": "0.3.249",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -302,7 +302,8 @@ export default function withSecondaryEditor(WrappedComponent, isTree = false) {
302
302
  return;
303
303
  }
304
304
  if (secondaryUseRemoteDuplicate) {
305
- return onRemoteDuplicate();
305
+ const results = await onRemoteDuplicate();
306
+ return results;
306
307
  }
307
308
  const
308
309
  entity = secondarySelection[0],
@@ -301,7 +301,8 @@ export default function withEditor(WrappedComponent, isTree = false) {
301
301
  return;
302
302
  }
303
303
  if (useRemoteDuplicate) {
304
- return onRemoteDuplicate();
304
+ const results = await onRemoteDuplicate();
305
+ return results;
305
306
  }
306
307
  const
307
308
  entity = selection[0],