mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat: expand sidebar once open form editor page.
feat: rounding money amount. feat: optimize page form structure. feat: refactoring make journal and expense form with FastField component.
This commit is contained in:
@@ -41,11 +41,22 @@ const mapActionsToProps = (dispatch) => ({
|
||||
type: t.SIDEBAR_EXPEND_TOGGLE,
|
||||
}),
|
||||
|
||||
changePreferencesPageTitle: (pageTitle) =>
|
||||
dispatch({
|
||||
type: 'CHANGE_PREFERENCES_PAGE_TITLE',
|
||||
pageTitle,
|
||||
}),
|
||||
changePreferencesPageTitle: (pageTitle) => dispatch({
|
||||
type: 'CHANGE_PREFERENCES_PAGE_TITLE',
|
||||
pageTitle,
|
||||
}),
|
||||
setSidebarShrink: () => dispatch({
|
||||
type: t.SIDEBAR_SHRINK,
|
||||
}),
|
||||
setSidebarExpand: () => dispatch({
|
||||
type: t.SIDEBAR_SHRINK,
|
||||
}),
|
||||
resetSidebarPreviousExpand: () => dispatch({
|
||||
type: t.RESET_SIDEBAR_PREVIOUS_EXPAND,
|
||||
}),
|
||||
recordSidebarPreviousExpand: () => dispatch({
|
||||
type: t.RECORD_SIDEBAR_PREVIOUS_EXPAND,
|
||||
}),
|
||||
});
|
||||
|
||||
export default connect(null, mapActionsToProps);
|
||||
|
||||
Reference in New Issue
Block a user