blixify-ui-web 1.2.223 → 1.2.224
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAqCA,OAAO,KASN,MAAM,OAAO,CAAC;AA6Gf,OAAO,EACL,iBAAiB,EAIlB,MAAM,kBAAkB,CAAC;AA8G1B,eAAO,MAAM,qBAAqB,OAAO,CAAC;AA0C1C,eAAO,MAAM,yBAAyB,UAAW,GAAG,YAYnD,CAAC;AAEF,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAqCA,OAAO,KASN,MAAM,OAAO,CAAC;AA6Gf,OAAO,EACL,iBAAiB,EAIlB,MAAM,kBAAkB,CAAC;AA8G1B,eAAO,MAAM,qBAAqB,OAAO,CAAC;AA0C1C,eAAO,MAAM,yBAAyB,UAAW,GAAG,YAYnD,CAAC;AAEF,eAAO,MAAM,YAAY,mFAi0evB,CAAC"}
|
|
@@ -6666,7 +6666,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6666
6666
|
handleUpdateChangeData(clonedData);
|
|
6667
6667
|
};
|
|
6668
6668
|
var handleDeleteTab = function (tabId) {
|
|
6669
|
-
var _a, _b;
|
|
6669
|
+
var _a, _b, _c, _d;
|
|
6670
6670
|
if ((_a = props.organise) === null || _a === void 0 ? void 0 : _a.extendedTabs) {
|
|
6671
6671
|
var deleteTabIndex_1 = -1;
|
|
6672
6672
|
props.organise.extendedTabs.forEach(function (eachTab, index) {
|
|
@@ -6681,6 +6681,10 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6681
6681
|
if ((_b = props.organise) === null || _b === void 0 ? void 0 : _b.onChangeTabs) {
|
|
6682
6682
|
props.organise.onChangeTabs(clonedTabs);
|
|
6683
6683
|
}
|
|
6684
|
+
// INFO: the open tab no longer exists, so the list would render
|
|
6685
|
+
// nothing; Table View is the one view that is always there
|
|
6686
|
+
if (tabId === viewType)
|
|
6687
|
+
(_d = (_c = props.organise) === null || _c === void 0 ? void 0 : _c.handleNavigate) === null || _d === void 0 ? void 0 : _d.call(_c, "list", "", "general");
|
|
6684
6688
|
}
|
|
6685
6689
|
}
|
|
6686
6690
|
};
|