@gisce/react-ooui 1.2.0-rc.11 → 1.2.0-rc.12
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/react-ooui.es.js
CHANGED
|
@@ -28870,7 +28870,10 @@ const TreeActionView = (e) => {
|
|
|
28870
28870
|
setCurrentView: h,
|
|
28871
28871
|
availableViews: g,
|
|
28872
28872
|
searchTreeNameSearch: m
|
|
28873
|
-
} = e
|
|
28873
|
+
} = e, {
|
|
28874
|
+
currentView: I,
|
|
28875
|
+
setPreviousView: C
|
|
28876
|
+
} = useContext(ActionViewContext);
|
|
28874
28877
|
return r ? /* @__PURE__ */ jsxs(Fragment, {
|
|
28875
28878
|
children: [/* @__PURE__ */ jsx(TitleHeader, {
|
|
28876
28879
|
children: /* @__PURE__ */ jsx(TreeActionBar, {
|
|
@@ -28887,15 +28890,15 @@ const TreeActionView = (e) => {
|
|
|
28887
28890
|
formView: l,
|
|
28888
28891
|
treeView: c,
|
|
28889
28892
|
domain: u,
|
|
28890
|
-
onRowClicked: (
|
|
28893
|
+
onRowClicked: (b) => {
|
|
28891
28894
|
const {
|
|
28892
|
-
id:
|
|
28893
|
-
} =
|
|
28894
|
-
p(
|
|
28895
|
-
const
|
|
28896
|
-
d(
|
|
28897
|
-
const
|
|
28898
|
-
h(
|
|
28895
|
+
id: y
|
|
28896
|
+
} = b;
|
|
28897
|
+
p(y);
|
|
28898
|
+
const v = f.findIndex((w) => w.id === y);
|
|
28899
|
+
C == null || C(I), d(v);
|
|
28900
|
+
const O = g.find((w) => w.type === "form");
|
|
28901
|
+
h(O);
|
|
28899
28902
|
}
|
|
28900
28903
|
})]
|
|
28901
28904
|
}) : null;
|