fix => services for fetchSlaughterBroadcastAndProducts
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user