mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 06:40:31 +00:00
feat: tables empty status.
This commit is contained in:
@@ -4,10 +4,12 @@ import {
|
||||
getManualJournalsItems,
|
||||
getManualJournalsPagination,
|
||||
getManualJournalsTableQuery,
|
||||
getManualJournalsCurrentViewIdFactory
|
||||
} from 'store/manualJournals/manualJournals.selectors';
|
||||
|
||||
|
||||
export default (mapState) => {
|
||||
const getManualJournalsCurrentViewId = getManualJournalsCurrentViewIdFactory();
|
||||
const mapStateToProps = (state, props) => {
|
||||
const query = getManualJournalsTableQuery(state, props);
|
||||
|
||||
@@ -21,6 +23,8 @@ export default (mapState) => {
|
||||
manualJournalsLoading: state.manualJournals.loading,
|
||||
|
||||
journalNumberChanged: state.manualJournals.journalNumberChanged,
|
||||
|
||||
manualJournalsCurrentViewId: getManualJournalsCurrentViewId(state, props),
|
||||
};
|
||||
return mapState ? mapState(mapped, state, props) : mapped;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user