mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 15:50:32 +00:00
add A/R shrink sidebar.
This commit is contained in:
@@ -31,6 +31,7 @@ function ReceivableAgingSummarySheet({
|
|||||||
// #withDashboardActions
|
// #withDashboardActions
|
||||||
changePageTitle,
|
changePageTitle,
|
||||||
setDashboardBackLink,
|
setDashboardBackLink,
|
||||||
|
setSidebarShrink,
|
||||||
|
|
||||||
// #withARAgingSummaryActions
|
// #withARAgingSummaryActions
|
||||||
requestReceivableAgingSummary,
|
requestReceivableAgingSummary,
|
||||||
@@ -59,6 +60,7 @@ function ReceivableAgingSummarySheet({
|
|||||||
}, [ARAgingSummaryRefresh, refreshARAgingSummary]);
|
}, [ARAgingSummaryRefresh, refreshARAgingSummary]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
setSidebarShrink()
|
||||||
// Show the back link on dashboard topbar.
|
// Show the back link on dashboard topbar.
|
||||||
setDashboardBackLink(true);
|
setDashboardBackLink(true);
|
||||||
|
|
||||||
@@ -66,7 +68,7 @@ function ReceivableAgingSummarySheet({
|
|||||||
// Hide the back link on dashboard topbar.
|
// Hide the back link on dashboard topbar.
|
||||||
setDashboardBackLink(false);
|
setDashboardBackLink(false);
|
||||||
};
|
};
|
||||||
}, [setDashboardBackLink]);
|
}, [setDashboardBackLink,setSidebarShrink]);
|
||||||
|
|
||||||
// Handle fetching receivable aging summary report.
|
// Handle fetching receivable aging summary report.
|
||||||
const fetchARAgingSummarySheet = useQuery(
|
const fetchARAgingSummarySheet = useQuery(
|
||||||
|
|||||||
Reference in New Issue
Block a user