From 7bfc6490429676369c60b974350c12d8edab5e70 Mon Sep 17 00:00:00 2001 From: natsoni Date: Sun, 4 Feb 2024 12:34:40 +0100 Subject: [PATCH] Add seo title to pegs and utxos tables --- .../federation-wallet/federation-wallet.component.ts | 7 ++++++- .../recent-pegs-list/recent-pegs-list.component.ts | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/components/liquid-reserves-audit/federation-wallet/federation-wallet.component.ts b/frontend/src/app/components/liquid-reserves-audit/federation-wallet/federation-wallet.component.ts index bfb7c4c1d..cbf931e28 100644 --- a/frontend/src/app/components/liquid-reserves-audit/federation-wallet/federation-wallet.component.ts +++ b/frontend/src/app/components/liquid-reserves-audit/federation-wallet/federation-wallet.component.ts @@ -1,4 +1,5 @@ import { Component, OnInit } from '@angular/core'; +import { SeoService } from '../../../services/seo.service'; @Component({ selector: 'app-federation-wallet', @@ -7,7 +8,11 @@ import { Component, OnInit } from '@angular/core'; }) export class FederationWalletComponent implements OnInit { - constructor() { } + constructor( + private seoService: SeoService + ) { + this.seoService.setTitle($localize`:@@993e5bc509c26db81d93018e24a6afe6e50cae52:Liquid Federation Wallet`); + } ngOnInit(): void { } diff --git a/frontend/src/app/components/liquid-reserves-audit/recent-pegs-list/recent-pegs-list.component.ts b/frontend/src/app/components/liquid-reserves-audit/recent-pegs-list/recent-pegs-list.component.ts index bafaf73f0..e921e1250 100644 --- a/frontend/src/app/components/liquid-reserves-audit/recent-pegs-list/recent-pegs-list.component.ts +++ b/frontend/src/app/components/liquid-reserves-audit/recent-pegs-list/recent-pegs-list.component.ts @@ -5,6 +5,7 @@ import { ApiService } from '../../../services/api.service'; import { Env, StateService } from '../../../services/state.service'; import { AuditStatus, CurrentPegs, FederationUtxo, RecentPeg } from '../../../interfaces/node-api.interface'; import { WebsocketService } from '../../../services/websocket.service'; +import { SeoService } from '../../../services/seo.service'; @Component({ selector: 'app-recent-pegs-list', @@ -39,6 +40,7 @@ export class RecentPegsListComponent implements OnInit { private apiService: ApiService, public stateService: StateService, private websocketService: WebsocketService, + private seoService: SeoService ) { } @@ -48,6 +50,7 @@ export class RecentPegsListComponent implements OnInit { this.skeletonLines = this.widget === true ? [...Array(6).keys()] : [...Array(15).keys()]; if (!this.widget) { + this.seoService.setTitle($localize`:@@a8b0889ea1b41888f1e247f2731cc9322198ca04:Recent Peg-In / Out's`); this.websocketService.want(['blocks']); this.auditStatus$ = this.stateService.blocks$.pipe( takeUntil(this.destroy$),