Commit 4201ddb
authored
fix: use window name to detect presence of extended client details (#22760)
RouteScope logic behaves differently depending on whether extended client details have been fetched.
Previously, the code checked whether the instance was null, but since #22719,
UIInternal.getExtendedClientDetails never returns null.
This change updates the logic to instead check ExtendedClientDetails.windowName,
which is always sent by the Flow client once the details are available.1 parent faae5c3 commit 4201ddb
File tree
1 file changed
+3
-6
lines changed- vaadin-spring/src/main/java/com/vaadin/flow/spring/scopes
1 file changed
+3
-6
lines changedLines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | 451 | | |
455 | 452 | | |
456 | 453 | | |
| |||
0 commit comments