aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/search/search.component.ts3
-rw-r--r--server/tests/utils/users/blocklist.ts3
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/search/search.component.ts b/client/src/app/search/search.component.ts
index ecffcafc1..3d17e6d96 100644
--- a/client/src/app/search/search.component.ts
+++ b/client/src/app/search/search.component.ts
@@ -146,7 +146,8 @@ export class SearchComponent implements OnInit, OnDestroy {
146 } 146 }
147 147
148 private updateTitle () { 148 private updateTitle () {
149 this.metaService.setTitle(this.i18n('Search') + ' ' + this.currentSearch) 149 const suffix = this.currentSearch ? ' ' + this.currentSearch : ''
150 this.metaService.setTitle(this.i18n('Search') + suffix)
150 } 151 }
151 152
152 private updateUrlFromAdvancedSearch () { 153 private updateUrlFromAdvancedSearch () {
diff --git a/server/tests/utils/users/blocklist.ts b/server/tests/utils/users/blocklist.ts
index 0ead5e5f6..5feb84179 100644
--- a/server/tests/utils/users/blocklist.ts
+++ b/server/tests/utils/users/blocklist.ts
@@ -1,7 +1,6 @@
1/* tslint:disable:no-unused-expression */ 1/* tslint:disable:no-unused-expression */
2 2
3import { makeDeleteRequest, makePostBodyRequest } from '../requests/requests' 3import { makeGetRequest, makeDeleteRequest, makePostBodyRequest } from '../requests/requests'
4import { makeGetRequest } from '../requests/requests'
5 4
6function getAccountBlocklistByAccount ( 5function getAccountBlocklistByAccount (
7 url: string, 6 url: string,