aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ufund-ui/src/app/components/funding-basket/funding-basket.component.ts')
-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 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))