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 {
21
21
color : #f14c4c ;
22
22
}
23
23
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
+
24
33
.list {
25
34
padding : 0px ;
26
35
display : flex ;
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ export class NoCodeObjectMessage{
19
19
var usageStatuses = await this . _analyticsProvider . getUsageStatus ( codeObjects ) ;
20
20
21
21
for ( const method of docInfo . methods ) {
22
- const relatedSummaries = docInfo . insights . all . filter ( s =>
22
+ const relatedInsights = docInfo . insights . all . filter ( s =>
23
23
method . id === s . codeObjectId ||
24
24
method . relatedCodeObjects . any ( r => r . id === s . codeObjectId ) ) ;
25
- if ( relatedSummaries . length == 0 ) {
25
+ if ( relatedInsights . length ! ==0 ) {
26
26
links . push ( /*html*/ `<vscode-link class="codeobject-link" data-line="${ method . range . start . line } ">${ method . displayName } </vscode-link>` ) ;
27
27
}
28
28
You can’t perform that action at this time.
0 commit comments