fix => services for fetchSlaughterBroadcastAndProducts

This commit is contained in:
2026-01-28 14:43:26 +03:30
parent 6ad291867e
commit fa3543f43e
19 changed files with 317 additions and 54 deletions

View File

@@ -25,7 +25,7 @@ import { fetchSlaughterBroadcastAndProducts } from "../../services/handle-fetch-
export const SlaughterInventoryFreeBuyBarsAlives = ({
title,
barState,
fetchDashboardData,
handleUpdate,
withDate,
selectedDate1,
selectedDate2,
@@ -87,7 +87,7 @@ export const SlaughterInventoryFreeBuyBarsAlives = ({
const updateTable = () => {
fetchApiData(page !== 0 ? page : 1);
fetchDashboardData();
handleUpdate();
dispatch(
fetchSlaughterBroadcastAndProducts({
role_key: checkPathStartsWith("slaughter")