oa-componentbook 1.0.1-stage.456 → 1.0.1-stage.457
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.
|
@@ -1224,9 +1224,8 @@ function GenricLayOut(_ref) {
|
|
|
1224
1224
|
*/
|
|
1225
1225
|
const onTabClick = async key => {
|
|
1226
1226
|
var _ref4, _tabs$extraAction$che, _tabs$extraAction, _tabs$extraAction2, _tables$filter5, _tables$columns2, _staticFilter$data$fi2;
|
|
1227
|
-
// Store the checked value
|
|
1227
|
+
// Store the checked value to pass to handleTabClick
|
|
1228
1228
|
const extraActionChecked = (_ref4 = (_tabs$extraAction$che = tabs === null || tabs === void 0 || (_tabs$extraAction = tabs.extraAction) === null || _tabs$extraAction === void 0 ? void 0 : _tabs$extraAction.checked) !== null && _tabs$extraAction$che !== void 0 ? _tabs$extraAction$che : tabs === null || tabs === void 0 || (_tabs$extraAction2 = tabs.extraAction) === null || _tabs$extraAction2 === void 0 || (_tabs$extraAction2 = _tabs$extraAction2.props) === null || _tabs$extraAction2 === void 0 ? void 0 : _tabs$extraAction2.defaultChecked) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
1229
|
-
resetTabsExtraActionSwitch();
|
|
1230
1229
|
dispatch({
|
|
1231
1230
|
type: _layoutReducer.actionTypes.TAB_CLICK,
|
|
1232
1231
|
payload: {
|