1
0
Fork 0

Fix search title

This commit is contained in:
Chocobozzz 2018-11-19 17:36:20 +01:00
parent d216b5387f
commit f107470e50
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 3 additions and 3 deletions

View file

@ -146,7 +146,8 @@ export class SearchComponent implements OnInit, OnDestroy {
} }
private updateTitle () { 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 () { private updateUrlFromAdvancedSearch () {

View file

@ -1,7 +1,6 @@
/* tslint:disable:no-unused-expression */ /* tslint:disable:no-unused-expression */
import { makeDeleteRequest, makePostBodyRequest } from '../requests/requests' import { makeGetRequest, makeDeleteRequest, makePostBodyRequest } from '../requests/requests'
import { makeGetRequest } from '../requests/requests'
function getAccountBlocklistByAccount ( function getAccountBlocklistByAccount (
url: string, url: string,