File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/dotnet/APIView/ClientSPA/src/app/_components/code-panel Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 88 [attr.data-row-position-in-group] ="item.rowPositionInGroup " [attr.data-row-type] ="item.type " [ngClass] ="getRowClassObject(item) ">
99 < ng-container *ngIf ="item.type === CodePanelRowDatatype.CodeLine || item.type === CodePanelRowDatatype.Documentation ">
1010 < div class ="line-actions ">
11- < span *ngIf ="showLineNumbers " [ngClass] ="getLineNumberClassObject(item) ">
12- < span class ="text-decoration-none " (click) ="toggleLineActionMenu($event, index) "> {{index+1 }}</ span >
11+ < span *ngIf ="showLineNumbers && item.lineNumber > 0 " [ngClass] ="getLineNumberClassObject(item) ">
12+ < span class ="text-decoration-none " (click) ="toggleLineActionMenu($event, index) "> {{item.lineNumber }}</ span >
1313 < p-menu appendTo ="body " [attr.data-line-action-menu-id] ="index " [model] ="getLineMenu(item) " [popup] ="true ">
1414 < ng-template pTemplate ="item " let-item >
1515 < span pRipple [attr.data-item-id] ="index " class ="flex align-items-center p-menuitem-link ">
3838 [allComments] ="allComments "
3939 [allCodePanelRowData] ="codePanelRowData "
4040 [associatedCodeLine] ="getAssociatedCodeLine(item) "
41- [actualLineNumber] ="index "
41+ [actualLineNumber] ="getAssociatedCodeLine(item)?.lineNumber || 0 "
4242 [userProfile] ="userProfile "
4343 [preferredApprovers] ="preferredApprovers "
4444 [reviewId] ="reviewId || '' "
You can’t perform that action at this time.
0 commit comments