@Input() headerActions: HeaderAction[] = []
+ @Input() hideScopeFilter = false
+
@Input() displayOptions: MiniatureDisplayOptions = {
date: true,
views: true,
by: true,
- avatar: false,
+ avatar: true,
privacyLabel: true,
privacyText: false,
state: false,
}
ngOnInit () {
- this.filters = new VideoFilters(this.defaultSort, this.defaultScope)
+ const hiddenFilters = this.hideScopeFilter
+ ? [ 'scope' ]
+ : []
+
+ this.filters = new VideoFilters(this.defaultSort, this.defaultScope, hiddenFilters)
this.filters.load({ ...this.route.snapshot.queryParams, scope: this.defaultScope })
this.groupedDateLabels = {