Skip to content

Commit

Permalink
fix: Project filter not applied to changed apps from other projs (arg…
Browse files Browse the repository at this point in the history
…oproj#9651)

Signed-off-by: Keith Chong <kykchong@redhat.com>
  • Loading branch information
keithchong committed Jun 17, 2022
1 parent 3966e50 commit 5b8a2b8
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -69,7 +69,9 @@ function loadApplications(projects: string[]): Observable<models.Application[]>
if (index > -1) {
applications[index] = appChange.application;
} else {
applications.unshift(appChange.application);
if (!(projects.length > 0 && projects.indexOf(appChange.application.spec.project) === -1)) {
applications.unshift(appChange.application);
}
}
break;
}
Expand Down

0 comments on commit 5b8a2b8

Please sign in to comment.