mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
fix: dashboard sidebar expanding.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import React from 'react';
|
||||
import 'style/pages/ItemsCategories/List.scss';
|
||||
|
||||
import { DashboardContentTable, DashboardPageContent } from 'components';
|
||||
|
||||
import ItemsCategoriesAlerts from './ItemsCategoriesAlerts';
|
||||
@@ -11,7 +13,7 @@ import ItemCategoriesTable from './ItemCategoriesTable';
|
||||
*/
|
||||
export default function ItemCategoryList() {
|
||||
return (
|
||||
<ItemsCategoriesProvider query={{}}>
|
||||
<ItemsCategoriesProvider>
|
||||
<ItemsCategoryActionsBar />
|
||||
|
||||
<DashboardPageContent>
|
||||
|
||||
@@ -25,7 +25,7 @@ function ItemsCategoriesProvider({ query, ...props }) {
|
||||
};
|
||||
|
||||
return (
|
||||
<DashboardInsider name={'item-category-list'}>
|
||||
<DashboardInsider name={'items-categories-list'}>
|
||||
<ItemsCategoriesContext.Provider value={state} {...props} />
|
||||
</DashboardInsider>
|
||||
);
|
||||
|
||||
@@ -81,14 +81,7 @@ export function useItemsCategoriesTableColumns() {
|
||||
accessor: 'description',
|
||||
className: 'description',
|
||||
width: 220,
|
||||
},
|
||||
{
|
||||
id: 'actions',
|
||||
Header: '',
|
||||
Cell: TableActionsCell,
|
||||
className: 'actions',
|
||||
width: 50,
|
||||
},
|
||||
}
|
||||
],
|
||||
[formatMessage],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user