The chat template binds (selectedIndexChange) which emits a bare number, but onTabChange treats the argument like a MatTabChangeEvent and reads event.index. That clears/wipes selectedTabIndex and breaks history auto-load driven from the template binding.
Found by
Wave 6 coverage tick 9 a7 (bae903f1).
Expected
Either bind (selectedTabChange) and use event.index, or change onTabChange to accept number directly.
## Summary
The chat template binds `(selectedIndexChange)` which emits a bare `number`, but `onTabChange` treats the argument like a MatTabChangeEvent and reads `event.index`. That clears/wipes `selectedTabIndex` and breaks history auto-load driven from the template binding.
## Found by
Wave 6 coverage tick 9 a7 (`bae903f1`).
## Expected
Either bind `(selectedTabChange)` and use `event.index`, or change `onTabChange` to accept `number` directly.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
The chat template binds
(selectedIndexChange)which emits a barenumber, butonTabChangetreats the argument like a MatTabChangeEvent and readsevent.index. That clears/wipesselectedTabIndexand breaks history auto-load driven from the template binding.Found by
Wave 6 coverage tick 9 a7 (
bae903f1).Expected
Either bind
(selectedTabChange)and useevent.index, or changeonTabChangeto acceptnumberdirectly.Already present on
spikersoft-angularmaster.onTabChangetakes anumber(matchingselectedIndexChange), notevent.index. Closing.