aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/funding-basket
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-03-31 21:54:48 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-03-31 21:54:48 -0400
commit43bab0db99649e118325cfece416f4f7b65a7d0c (patch)
tree4ab1fcca547841baf7258ddb459971bf0748445d /ufund-ui/src/app/components/funding-basket
parentaef3df6f9eacfe37479046826a9ca14310b72456 (diff)
parent827831df4452449f11799c5e7daa2c6d1dd2ea90 (diff)
downloadJellySolutions-43bab0db99649e118325cfece416f4f7b65a7d0c.tar.gz
JellySolutions-43bab0db99649e118325cfece416f4f7b65a7d0c.tar.bz2
JellySolutions-43bab0db99649e118325cfece416f4f7b65a7d0c.zip
Merge remote-tracking branch 'origin/css' into css
Diffstat (limited to 'ufund-ui/src/app/components/funding-basket')
-rw-r--r--ufund-ui/src/app/components/funding-basket/funding-basket.component.ts6
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 646ef35..b3826be 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))