oa-componentbook 1.0.1-stage.429 → 1.0.1-stage.430
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.
|
@@ -82,7 +82,8 @@ function GenricLayOut(_ref) {
|
|
|
82
82
|
handleProfileReroute,
|
|
83
83
|
handleTableFooterApi,
|
|
84
84
|
handleSwitchSelectItem,
|
|
85
|
-
handleTableColumnClickParent
|
|
85
|
+
handleTableColumnClickParent,
|
|
86
|
+
handleLeftHeaderFirstButton
|
|
86
87
|
} = {}
|
|
87
88
|
} = _ref;
|
|
88
89
|
const [state, dispatch] = (0, _react.useReducer)(_layoutReducer.genericLayoutReducer, config !== null && config !== void 0 ? config : _layoutReducer.initialState);
|
|
@@ -1819,6 +1820,8 @@ function GenricLayOut(_ref) {
|
|
|
1819
1820
|
dispatch({
|
|
1820
1821
|
type: _layoutReducer.actionTypes.CUSTOM_DRAWER_OPEN
|
|
1821
1822
|
});
|
|
1823
|
+
} else if ((leftHeaderFirstButton === null || leftHeaderFirstButton === void 0 ? void 0 : leftHeaderFirstButton.action) === "EXPORT_DATA") {
|
|
1824
|
+
handleLeftHeaderFirstButton(state);
|
|
1822
1825
|
}
|
|
1823
1826
|
};
|
|
1824
1827
|
|