docs(common): fix selector field in NgIfAs example component (#35854)

PR Close #35854
This commit is contained in:
Qais Patankar 2020-03-04 12:15:16 +00:00 committed by Andrew Kushnir
parent 655da32837
commit 7c3c8d6d10
2 changed files with 4 additions and 4 deletions

View File

@ -61,8 +61,8 @@ describe('ngIf', () => {
});
});
describe('ng-if-let', () => {
let comp = 'ng-if-let';
describe('ng-if-as', () => {
let comp = 'ng-if-as';
it('should hide/show content', () => {
browser.get(URL);
waitForElement(comp);

View File

@ -75,7 +75,7 @@ export class NgIfThenElse implements OnInit {
// #docregion NgIfAs
@Component({
selector: 'ng-if-let',
selector: 'ng-if-as',
template: `
<button (click)="nextUser()">Next User</button>
<br>
@ -112,7 +112,7 @@ export class NgIfAs {
<hr>
<ng-if-then-else></ng-if-then-else>
<hr>
<ng-if-let></ng-if-let>
<ng-if-as></ng-if-as>
<hr>
`
})