Commit bbbb389
committed
Update FilesChangedOverview.tsx
Hardened the listener for FilesChangedOverview
Added more validation for each type.
@danial-lxs LMK if I am wrong but from what I looked up, "event.source === window" is not needed since vsCode already handles this. Also, that version (and many other versions) of the check always seems to fail. If you know something I don't pls let me know.1 parent a9ab507 commit bbbb389
File tree
1 file changed
+26
-8
lines changed- webview-ui/src/components/file-changes
1 file changed
+26
-8
lines changedLines changed: 26 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
211 | 220 | | |
212 | 221 | | |
213 | 222 | | |
214 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
215 | 230 | | |
216 | 231 | | |
217 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
218 | 236 | | |
219 | 237 | | |
220 | 238 | | |
| |||
0 commit comments