aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-list/need-list.component.ts
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-04-07 21:00:53 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-04-07 21:00:53 -0400
commit426b21de0a3f7ee8706b83af4acddb731798be2c (patch)
treeb51bda63a4bbbef158353600a878e8192f7f7952 /ufund-ui/src/app/components/need-list/need-list.component.ts
parent71e01e85a33b0109847867878b2af733b4751e46 (diff)
parent7617db08a43d873a65abd47b02e23ad8cb4cb5cd (diff)
downloadJellySolutions-426b21de0a3f7ee8706b83af4acddb731798be2c.tar.gz
JellySolutions-426b21de0a3f7ee8706b83af4acddb731798be2c.tar.bz2
JellySolutions-426b21de0a3f7ee8706b83af4acddb731798be2c.zip
Merge branch 'main' into call-to-action
Diffstat (limited to 'ufund-ui/src/app/components/need-list/need-list.component.ts')
-rw-r--r--ufund-ui/src/app/components/need-list/need-list.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/ufund-ui/src/app/components/need-list/need-list.component.ts b/ufund-ui/src/app/components/need-list/need-list.component.ts
index 7ca0ae7..b0a012f 100644
--- a/ufund-ui/src/app/components/need-list/need-list.component.ts
+++ b/ufund-ui/src/app/components/need-list/need-list.component.ts
@@ -19,8 +19,8 @@ export class NeedListComponent implements OnChanges {
totalPages: number = 0;
ngOnChanges() {
- this.updateVisibleNeeds()
this.currentPage = parseInt(localStorage.getItem('currentPage'+this.uid) ?? '0') ?? 0;
+ this.updateVisibleNeeds()
}
getPrefix(need: Need) {
@@ -59,5 +59,6 @@ export class NeedListComponent implements OnChanges {
}
protected readonly GoalType = GoalType;
+ protected readonly Infinity = Infinity;
}