mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
WIP feature/breadcrumb/fix_localize
This commit is contained in:
@@ -39,7 +39,7 @@ function ManualJournalsViewTabs({
|
||||
|
||||
const handleClickNewView = () => {
|
||||
setTopbarEditView(null);
|
||||
history.push('/dashboard/custom_views/manual_journals/new');
|
||||
history.push('/custom_views/manual_journals/new');
|
||||
};
|
||||
const handleViewLinkClick = () => {
|
||||
setTopbarEditView(customViewId);
|
||||
@@ -61,7 +61,7 @@ function ManualJournalsViewTabs({
|
||||
}, [customViewId]);
|
||||
|
||||
const tabs = manualJournalsViews.map((view) => {
|
||||
const baseUrl = '/dashboard/accounting/manual-journals';
|
||||
const baseUrl = '/manual-journals';
|
||||
const link = (
|
||||
<Link
|
||||
to={`${baseUrl}/${view.id}/custom_view`}
|
||||
@@ -85,7 +85,7 @@ function ManualJournalsViewTabs({
|
||||
<Tab
|
||||
id='all'
|
||||
title={
|
||||
<Link to={`/dashboard/accounting/manual-journals`}>All</Link>
|
||||
<Link to={`/manual-journals`}>All</Link>
|
||||
}
|
||||
/>
|
||||
{tabs}
|
||||
|
||||
Reference in New Issue
Block a user