Commit b19b512
authored
fix(frontend): fix Transcripts and Quotas missing in embedded Cloud UI sidebar (#2312)
Fix store update ordering race condition in refreshSupportedEndpoints().
The useApiStore subscription fires synchronously and calls updateSidebarItems(),
which reads feature support from useSupportedFeaturesStore. By updating
useSupportedFeaturesStore first, the subscription sees correct feature data.1 parent 1c101d4 commit b19b512
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1022 | 1022 | | |
1023 | 1023 | | |
1024 | 1024 | | |
1025 | | - | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
1026 | 1029 | | |
| 1030 | + | |
1027 | 1031 | | |
1028 | 1032 | | |
1029 | 1033 | | |
| |||
0 commit comments