refactor(docs-infra): fix code indentation in `ContributorListComponent`'s template (#41051)

This commit fixes the indentation of the template of
`ContributorListComponent` to make it more readable.

PR Close #41051
This commit is contained in:
George Kalpakas 2021-03-09 14:15:47 +02:00 committed by Andrew Kushnir
parent 1b38b413de
commit 8365bc8946
1 changed files with 12 additions and 11 deletions

View File

@ -8,8 +8,8 @@ import { LocationService } from 'app/shared/location.service';
template: ` template: `
<div class="flex-center group-buttons"> <div class="flex-center group-buttons">
<a *ngFor="let name of groupNames" <a *ngFor="let name of groupNames"
[class.selected]="name == selectedGroup.name"
class="button mat-button filter-button" class="button mat-button filter-button"
[class.selected]="name == selectedGroup.name"
(click)="selectGroup(name)" (click)="selectGroup(name)"
(keyup.enter)="selectGroup(name)">{{name}}</a> (keyup.enter)="selectGroup(name)">{{name}}</a>
</div> </div>
@ -17,7 +17,8 @@ import { LocationService } from 'app/shared/location.service';
<div class="contributor-group"> <div class="contributor-group">
<aio-contributor *ngFor="let person of selectedGroup.contributors" [person]="person"></aio-contributor> <aio-contributor *ngFor="let person of selectedGroup.contributors" [person]="person"></aio-contributor>
</div> </div>
</section>` </section>
`,
}) })
export class ContributorListComponent implements OnInit { export class ContributorListComponent implements OnInit {
private groups: ContributorGroup[]; private groups: ContributorGroup[];