fix(ivy): fix PR collision with static: true and new test (#30666)

This fixes a collision between #30639 and #30543 where the latter added
usages of @ViewChild without the static flag present, but the former
made the flag required.

PR Close #30666
This commit is contained in:
Alex Rickabaugh 2019-05-24 14:41:46 -07:00 committed by Matias Niemelä
parent 84dd2679a9
commit 661c6e6f10
1 changed files with 2 additions and 2 deletions

View File

@ -383,7 +383,7 @@ describe('new styling integration', () => {
map: any = {width: '111px', opacity: '0.5'};
width: string|null = '555px';
@ViewChild('dir', {read: DirThatSetsStyling})
@ViewChild('dir', {read: DirThatSetsStyling, static: true})
dir !: DirThatSetsStyling;
}
@ -458,7 +458,7 @@ describe('new styling integration', () => {
map: any = {width: '555px', height: '555px'};
@ViewChild('dir', {read: DirThatSetsStyling})
@ViewChild('dir', {read: DirThatSetsStyling, static: true})
dir !: DirThatSetsStyling;
}