@@ -206,12 +206,11 @@ export const Main = () => {
206206
207207 if ( scope ?. context ) {
208208 switch ( scope . context . event ) {
209- case ScopeChangeEvent . HistoryNavigated : {
209+ case ScopeChangeEvent . HistoryNavigated :
210210 updateBrowserLocation (
211211 scope . context . payload ?. location as HistoryEntryLocation
212212 ) ;
213213 break ;
214- }
215214 case ScopeChangeEvent . HistoryCleared :
216215 goTo ( `/${ TAB_IDS . ISSUES } ` , {
217216 state : {
@@ -227,6 +226,10 @@ export const Main = () => {
227226 break ;
228227 case ScopeChangeEvent . JaegerSpanLinkClicked :
229228 case ScopeChangeEvent . AssetsAssetCardTitleLinkClicked :
229+ if ( platform === "Visual Studio" ) {
230+ goTo ( `/${ TAB_IDS . ISSUES } ` , { state } ) ;
231+ break ;
232+ }
230233 goTo ( `/${ TAB_IDS . HIGHLIGHTS } ` , { state } ) ;
231234 break ;
232235 case ScopeChangeEvent . HighlightsTopIssuesCardItemClicked :
@@ -248,10 +251,9 @@ export const Main = () => {
248251 goTo ( `/${ TAB_IDS . ASSETS } ` , { state } ) ;
249252 break ;
250253 case ScopeChangeEvent . MetricsServiceSelected :
251- case ScopeChangeEvent . MetricsEndpointSelected : {
254+ case ScopeChangeEvent . MetricsEndpointSelected :
252255 goTo ( `/${ TAB_IDS . ISSUES } ` , { state } ) ;
253256 break ;
254- }
255257 case ScopeChangeEvent . IdeCodeLensClicked : {
256258 const url = getURLToNavigateOnCodeLensClick ( scope ) ;
257259 if ( url ) {
0 commit comments