diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-21 13:18:39 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-21 13:18:39 +0300 |
commit | 77ac1549e2ab5ac68a1a7464ada9be7e2a2aad92 (patch) | |
tree | c6039cdfc2888e23bbac9c3922453da90e6567ce /src/containers/Service/ServiceList.tsx | |
parent | a7e97f33ae31dd2be1d7c04ecb8f2439ffebf921 (diff) | |
download | commercel-ui-77ac1549e2ab5ac68a1a7464ada9be7e2a2aad92.tar.gz |
feat: pass search params across screens
Diffstat (limited to 'src/containers/Service/ServiceList.tsx')
-rw-r--r-- | src/containers/Service/ServiceList.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/containers/Service/ServiceList.tsx b/src/containers/Service/ServiceList.tsx index a0536b5..f716b24 100644 --- a/src/containers/Service/ServiceList.tsx +++ b/src/containers/Service/ServiceList.tsx @@ -13,7 +13,7 @@ const ServiceList: React.FC = () => { const actions = service.actions || [{ name: 'Добавить', - route: `/${service.route}/add`, + route: `/${service.route}/add${location.search}`, }]; const handleRowClick = (index: number) => { |