Fix deleting just one variant
This commit is contained in:
parent
d120be4c67
commit
091e54e1d0
1 changed files with 4 additions and 1 deletions
|
@ -52,7 +52,10 @@ const ProductUpdate: React.FC<RouteComponentProps<any>> = ({ match }) => {
|
||||||
return (
|
return (
|
||||||
<ProductUpdateComponent
|
<ProductUpdateComponent
|
||||||
id={decodeURIComponent(match.params.id)}
|
id={decodeURIComponent(match.params.id)}
|
||||||
params={params}
|
params={{
|
||||||
|
...params,
|
||||||
|
ids: getArrayQueryParam(qs.ids)
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue