Commit 4306e29
authored
fix: use window name to detect presence of extended client details (#493)
RouteScope logic behave differently if extended client details have been fetched or not. The current check is to verify if the instance is null, but since vaadin/flow#22719 UIInternal.getExtendedClientDetail never returns null.
This change updates the logic to check instead for ExtendedClientDetail.windowName that is always sent by Flow client when the details are fetched.1 parent 5ea90d6 commit 4306e29
File tree
1 file changed
+5
-11
lines changed- vaadin-cdi/src/main/java/com/vaadin/cdi/context
1 file changed
+5
-11
lines changedLines changed: 5 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 129 | + | |
134 | 130 | | |
135 | 131 | | |
136 | 132 | | |
137 | 133 | | |
138 | | - | |
139 | | - | |
| 134 | + | |
140 | 135 | | |
141 | | - | |
| 136 | + | |
142 | 137 | | |
143 | 138 | | |
144 | 139 | | |
| |||
158 | 153 | | |
159 | 154 | | |
160 | 155 | | |
161 | | - | |
162 | | - | |
163 | | - | |
| 156 | + | |
| 157 | + | |
164 | 158 | | |
165 | 159 | | |
166 | 160 | | |
| |||
0 commit comments