@ws-ui/store 0.0.30 → 0.0.31

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.es.js CHANGED
@@ -13483,7 +13483,10 @@ const eP = {
13483
13483
  H.DEBUGGER
13484
13484
  ], a = r.payload;
13485
13485
  let i = e.tabs.find(({ path: s }) => a.path === s);
13486
- if ((t.includes(a.type) || i != null && i.flags.confirmed) && (a.flags.confirmed = !0), !i) {
13486
+ if ((t.includes(a.type) || i != null && i.flags.confirmed) && (a.flags = {
13487
+ ...a.flags,
13488
+ confirmed: !0
13489
+ }), !i) {
13487
13490
  const s = e.tabs.findIndex(
13488
13491
  ({ flags: { confirmed: c } }) => c === !1
13489
13492
  );