mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
fix: use project flock kandang ID instead kandang ID and use kandang name with period for kandang options in filter
This commit is contained in:
@@ -173,8 +173,8 @@ const DashboardProduction = () => {
|
|||||||
loadMore: loadMoreKandang,
|
loadMore: loadMoreKandang,
|
||||||
} = useSelect<ProjectFlockKandang>(
|
} = useSelect<ProjectFlockKandang>(
|
||||||
ProjectFlockKandangApi.basePath,
|
ProjectFlockKandangApi.basePath,
|
||||||
'kandang_id',
|
'id',
|
||||||
'kandang.name',
|
'name_with_period',
|
||||||
'search',
|
'search',
|
||||||
{
|
{
|
||||||
location_id:
|
location_id:
|
||||||
@@ -362,7 +362,7 @@ const DashboardProduction = () => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Hidden container for all charts (used for PDF export in OVERVIEW mode) */}
|
{/* Hidden container for all charts (used for PDF export in OVERVIEW mode) */}
|
||||||
{dashboardProductionData && (
|
{exporting && dashboardProductionData && (
|
||||||
<>
|
<>
|
||||||
{/* Export Stats Charts */}
|
{/* Export Stats Charts */}
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user