mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix search title
This commit is contained in:
@@ -146,7 +146,8 @@ export class SearchComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
private updateTitle () {
|
||||
this.metaService.setTitle(this.i18n('Search') + ' ' + this.currentSearch)
|
||||
const suffix = this.currentSearch ? ' ' + this.currentSearch : ''
|
||||
this.metaService.setTitle(this.i18n('Search') + suffix)
|
||||
}
|
||||
|
||||
private updateUrlFromAdvancedSearch () {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
/* tslint:disable:no-unused-expression */
|
||||
|
||||
import { makeDeleteRequest, makePostBodyRequest } from '../requests/requests'
|
||||
import { makeGetRequest } from '../requests/requests'
|
||||
import { makeGetRequest, makeDeleteRequest, makePostBodyRequest } from '../requests/requests'
|
||||
|
||||
function getAccountBlocklistByAccount (
|
||||
url: string,
|
||||
|
||||
Reference in New Issue
Block a user