diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2025-04-07 20:39:10 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2025-04-07 20:39:10 -0400 |
commit | eeec3e68327ed5b989680a74893e2dcee3ff3e22 (patch) | |
tree | 86a3cbfb1adde64059b7ac1d5485738881eddde4 /ufund-ui/src/app/components/need-list/need-list.component.ts | |
parent | cd102e56a04d13adb38bd0869eb9eb28c63f74c2 (diff) | |
download | JellySolutions-eeec3e68327ed5b989680a74893e2dcee3ff3e22.tar.gz JellySolutions-eeec3e68327ed5b989680a74893e2dcee3ff3e22.tar.bz2 JellySolutions-eeec3e68327ed5b989680a74893e2dcee3ff3e22.zip |
Fix sorting and searching bugs, save sort mode and algo to localStorage
Diffstat (limited to '')
-rw-r--r-- | ufund-ui/src/app/components/need-list/need-list.component.ts | 2 |
1 files changed, 1 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 2fbf9d2..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) { |