fix: 🐛 Fix display of no results from type filter (#2075)
This commit is contained in:
1 parent
a1fbfdc1ad
commit
16a054519f
1 file changed
+3
-2
@@ -52,6 +52,7 @@ export default class ScopesScopeProjectsTargetsIndexController extends Controlle
|
||||
get showFilters() {
|
||||
return (
|
||||
this.model.allTargets.length ||
|
||||
this.types.length ||
|
||||
this.search ||
|
||||
this.availableSessions.length
|
||||
);
|
||||
@@ -64,7 +65,7 @@ export default class ScopesScopeProjectsTargetsIndexController extends Controlle
|
||||
get noResults() {
|
||||
return (
|
||||
this.model.targets.length === 0 &&
|
||||
(this.search || this.availableSessions.length)
|
||||
(this.search || this.availableSessions.length || this.types.length)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -75,7 +76,7 @@ export default class ScopesScopeProjectsTargetsIndexController extends Controlle
|
||||
get noTargets() {
|
||||
return (
|
||||
this.model.targets.length === 0 &&
|
||||
!(this.search || this.availableSessions.length)
|
||||
!(this.search || this.availableSessions.length || this.types.length)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user