Skip to content

Commit

Permalink
fix user page pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
amalshaji committed Mar 1, 2024
1 parent e402d08 commit 4889aac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion admin/src/web/src/lib/components/users/members.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
},
}
);
users.set((await response.json())["data"]);
const resp = await response.json();
users.set(resp["data"]);
totalItems = resp["count"];
} catch (err) {
console.error(err);
} finally {
Expand Down

0 comments on commit 4889aac

Please sign in to comment.