mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 14:55:44 +00:00
refactor(FE): Change endpoint path to reports
This commit is contained in:
@@ -33,7 +33,7 @@ const MarketingReportContent = () => {
|
|||||||
const [activeTab, setActiveTab] = useState<string>('daily');
|
const [activeTab, setActiveTab] = useState<string>('daily');
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className='w-full max-w-7xl pb-16'>
|
<section className='w-full max-w-full pb-16'>
|
||||||
<Tabs
|
<Tabs
|
||||||
activeTabId={activeTab}
|
activeTabId={activeTab}
|
||||||
onTabChange={setActiveTab}
|
onTabChange={setActiveTab}
|
||||||
|
|||||||
@@ -44,9 +44,7 @@ export class MarketingSaleReportService extends BaseApiService<
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const SaleReportApi = new MarketingSaleReportService(
|
export const SaleReportApi = new MarketingSaleReportService('reports');
|
||||||
'reports/marketings'
|
|
||||||
);
|
|
||||||
|
|
||||||
// export const SaleReportApi = new MarketingSaleReportService(
|
// export const SaleReportApi = new MarketingSaleReportService(
|
||||||
// 'http://localhost:4010/api/reports/marketings'
|
// 'http://localhost:4010/api/reports/marketings'
|
||||||
|
|||||||
Reference in New Issue
Block a user