Commit 6e47822c1d84732571fbdf54fcd622e9d9603b55

Authored by ww
1 parent 29b696f1

feat: implement jump preview

... ... @@ -157,10 +157,10 @@
157 157 };
158 158
159 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 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 165 return {
166 166 searchInfo,
... ...