mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
feat: Items data table.
This commit is contained in:
@@ -12,4 +12,9 @@ export const getViewMeta = (state, viewId) => {
|
||||
|
||||
export const getViewItem = (state, viewId) => {
|
||||
return state.views.views[viewId] || {};
|
||||
};
|
||||
|
||||
export const getViewPages = (resourceViews, viewId) => {
|
||||
return (typeof resourceViews[viewId] === 'undefined') ?
|
||||
{} : resourceViews[viewId].pages;
|
||||
};
|
||||
Reference in New Issue
Block a user