]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-forms/advanced-input-filter.component.ts
Add quick filter for followers
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-forms / advanced-input-filter.component.ts
index 113219f48e8eb74fcef45781fe155fe41e7f382f..8315662b46b32a42885c40a28dd7ca7f98ebb3e0 100644 (file)
@@ -55,7 +55,7 @@ export class AdvancedInputFilterComponent implements OnInit, AfterViewInit {
   }
 
   hasFilters () {
-    return this.filters.length !== 0
+    return this.filters && this.filters.length !== 0
   }
 
   private scheduleSearchUpdate (value: string) {