aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/search/search.component.ts3
1 files changed, 2 insertions, 1 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 () {