diff options
author | Gunther6070 <haydenhartman10@yahoo.com> | 2025-03-31 21:32:55 -0400 |
---|---|---|
committer | Gunther6070 <haydenhartman10@yahoo.com> | 2025-03-31 21:32:55 -0400 |
commit | 9c9708cc846dafe33234c38c37425468b9877514 (patch) | |
tree | c30a0d1a9be3f6035f478555d3511ed0f236c361 /ufund-ui/src/app/components/funding-basket/funding-basket.component.ts | |
parent | 6af14c6089f0fa0924740fb6089affc545f93a81 (diff) | |
download | JellySolutions-9c9708cc846dafe33234c38c37425468b9877514.tar.gz JellySolutions-9c9708cc846dafe33234c38c37425468b9877514.tar.bz2 JellySolutions-9c9708cc846dafe33234c38c37425468b9877514.zip |
Updated toast's types
Diffstat (limited to '')
-rw-r--r-- | ufund-ui/src/app/components/funding-basket/funding-basket.component.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts b/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts index 24e2c0b..54ae720 100644 --- a/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts +++ b/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts @@ -46,7 +46,11 @@ export class FundingBasketComponent implements OnInit { this.isValid = false; contribution.setAttribute("style", "color: #ff0000"); - this.toastService.sendToast(ToastType.WARNING, "Invalid input in funding basket!") + this.toastService.sendToast(ToastType.ERROR, "Invalid input in funding basket!") + + setTimeout(() => { + contribution.setAttribute("style", "color: #ffffff"); + }, 3000); } } // if (this.usersService.getBasket().value != await firstValueFrom(this.usersService.getUser(1)) |