Address index and api.

Address view.
This commit is contained in:
softsimon
2020-07-13 21:46:25 +07:00
parent db2e293ce5
commit 432fb9cd66
22 changed files with 295 additions and 54 deletions

View File

@@ -18,14 +18,9 @@ export class SeoService {
setTitle(newTitle: string, prependNetwork = false) {
let networkName = '';
if (prependNetwork) {
if (this.network === 'liquid') {
networkName = 'Liquid ';
} else if (this.network === 'testnet') {
networkName = 'Testnet ';
}
if (prependNetwork && this.network !== '') {
networkName = this.network.substr(0, 1).toUpperCase() + this.network.substr(1) + ' ';
}
this.titleService.setTitle(networkName + newTitle + ' - ' + this.defaultTitle);
}