File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
views/codeAnalytics/AdminInsights Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,15 @@ vscode-panel-view {
2121 color : #f14c4c ;
2222}
2323
24+ .links-list {
25+ display : flex ;
26+ flex-direction : column ;
27+ flex-wrap : wrap ;
28+ .codeobject-link {
29+ align-self : flex-start ;
30+ }
31+ }
32+
2433.list {
2534 padding : 0px ;
2635 display : flex ;
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ export class NoCodeObjectMessage{
1919 var usageStatuses = await this . _analyticsProvider . getUsageStatus ( codeObjects ) ;
2020
2121 for ( const method of docInfo . methods ) {
22- const relatedSummaries = docInfo . insights . all . filter ( s =>
22+ const relatedInsights = docInfo . insights . all . filter ( s =>
2323 method . id === s . codeObjectId ||
2424 method . relatedCodeObjects . any ( r => r . id === s . codeObjectId ) ) ;
25- if ( relatedSummaries . length == 0 ) {
25+ if ( relatedInsights . length ! ==0 ) {
2626 links . push ( /*html*/ `<vscode-link class="codeobject-link" data-line="${ method . range . start . line } ">${ method . displayName } </vscode-link>` ) ;
2727 }
2828
You can’t perform that action at this time.
0 commit comments