@interopio/home-ui-react 2.1.2 → 2.1.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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
package/dist/index.mjs
CHANGED
|
@@ -8636,12 +8636,15 @@ const Jp = tc, _y = (t) => {
|
|
|
8636
8636
|
};
|
|
8637
8637
|
});
|
|
8638
8638
|
}), r = e.appManager.onInstanceStopped((a) => {
|
|
8639
|
-
n((s) =>
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8639
|
+
n((s) => {
|
|
8640
|
+
const c = s[a.application.name];
|
|
8641
|
+
return c ? {
|
|
8642
|
+
...s,
|
|
8643
|
+
[a.application.name]: c.filter(
|
|
8644
|
+
(u) => u !== a.id
|
|
8645
|
+
)
|
|
8646
|
+
} : s;
|
|
8647
|
+
});
|
|
8645
8648
|
}), i = [o, r];
|
|
8646
8649
|
return () => i.forEach((a) => a());
|
|
8647
8650
|
}, [e]), t;
|