Showing
1 changed file
with
2 additions
and
2 deletions
@@ -157,10 +157,10 @@ | @@ -157,10 +157,10 @@ | ||
157 | }; | 157 | }; |
158 | 158 | ||
159 | const handlePreview = (record: Recordable | null) => { | 159 | const handlePreview = (record: Recordable | null) => { |
160 | - window.open(VITE_GLOB_CONFIGURATION + '/?dev=1', '_blank'); | 160 | + window.open(`${VITE_GLOB_CONFIGURATION}/?dev=1&configurationId=${record!.id}&lightbox=1`); |
161 | }; | 161 | }; |
162 | const handleDesign = (record: Recordable | null) => { | 162 | const handleDesign = (record: Recordable | null) => { |
163 | - window.open(VITE_GLOB_CONFIGURATION + '/?dev=1&configurationId=' + record.id, '_blank'); | 163 | + window.open(VITE_GLOB_CONFIGURATION + '/?dev=1&configurationId=' + record!.id, '_blank'); |
164 | }; | 164 | }; |
165 | return { | 165 | return { |
166 | searchInfo, | 166 | searchInfo, |