Merge pull request #652 from mirumee/fix/variant-delete
Fix deleting just one variant
This commit is contained in:
commit
355c796bd8
1 changed files with 4 additions and 1 deletions
|
@ -52,7 +52,10 @@ const ProductUpdate: React.FC<RouteComponentProps<any>> = ({ match }) => {
|
|||
return (
|
||||
<ProductUpdateComponent
|
||||
id={decodeURIComponent(match.params.id)}
|
||||
params={params}
|
||||
params={{
|
||||
...params,
|
||||
ids: getArrayQueryParam(qs.ids)
|
||||
}}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue