Commit 305994c
committed
fix(tooltip): use unique 'hint-experts' key for program rating hint
Even with isolated DI instances, using the same 'base' key as the
analytics button (DeatilComponent) could still conflict. Replace with
a dedicated TooltipKey so the hint tooltip state is never reachable
from any other component regardless of DI scope.
- Add 'hint-experts' to TooltipKey union
- Replace 'base' with 'hint-experts' in list.component.html and openHintModal1 parent 93f594e commit 305994c
3 files changed
Lines changed: 6 additions & 5 deletions
File tree
- projects/social_platform/src/app
- api/tooltip
- ui/pages/program/detail/list
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
| 186 | + | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
0 commit comments