Skip to content

Commit

Permalink
fix: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
SahilK-027 committed Apr 30, 2024
1 parent 1fda407 commit 5ff4175
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ export class FyProjectSelectModalComponent implements OnInit, AfterViewInit {
return;
}

getProjects(searchNameText: string): Observable<{ label: string; value: ExtendedProject | ExtendedProject[] }[]> {
getProjects(
searchNameText: string
): Observable<{ label: string | undefined; value: ExtendedProject | ExtendedProject[] }[]> {
// set isLoading to true
this.isLoading = true;
// run ChangeDetectionRef.detectChanges to avoid 'expression has changed after it was checked error'.
Expand Down

0 comments on commit 5ff4175

Please sign in to comment.