The team noticed that the invitation token verification panel behaves unreliably after being opened several times and after repeated checks. You need to review a small Angular component and find the causes of the observed issues.
token field.Check button must send a request only for a non-empty token after trim().ChangeDetectionStrategy.OnPush.alpha and click Check.missing and click Check again.20.0.0, standalone components5.8.x7.8.xChangeDetectionStrategy.OnPushzone.js modeReactiveFormsModule, FormControl<string> with nonNullablelookupToken(token: string): Observable<{ token: string; owner: string; active: boolean }>check() and, if needed, destroy the component instance before the response completesUse line comments to explain the problem, its impact, the fix and how to test it.