From ba40f4dd525888718ca52e9da766ed1b3e2580e6 Mon Sep 17 00:00:00 2001 From: Sibin Sabu Date: Mon, 15 Sep 2025 16:45:54 +0530 Subject: [PATCH] feat : Payout in gui half done means error handling is there --- .../app/components/navbar/navbar.component.ts | 2 +- .../components/sidebar/sidebar.component.html | 1 + .../components/sidebar/sidebar.component.ts | 385 +++++++++++------- 3 files changed, 230 insertions(+), 158 deletions(-) diff --git a/btc-UI/src/app/components/navbar/navbar.component.ts b/btc-UI/src/app/components/navbar/navbar.component.ts index 398f9a7..c7f649c 100755 --- a/btc-UI/src/app/components/navbar/navbar.component.ts +++ b/btc-UI/src/app/components/navbar/navbar.component.ts @@ -187,7 +187,7 @@ export class NavbarComponent implements OnInit, OnDestroy { this.subscription = interval(5000) .pipe( switchMap(() => { - return this.http.get('http://localhost:8080/abs/latest').pipe( + return this.http.get('http://localhost:8087/abs/latest').pipe( catchError((err) => { this.liveStatusOk = false; return of(null); diff --git a/btc-UI/src/app/components/sidebar/sidebar.component.html b/btc-UI/src/app/components/sidebar/sidebar.component.html index 2023479..bd2704a 100755 --- a/btc-UI/src/app/components/sidebar/sidebar.component.html +++ b/btc-UI/src/app/components/sidebar/sidebar.component.html @@ -62,6 +62,7 @@ [(ngModel)]="payoutTicketNo" /> +
{{ payoutWarning }}