Merge pull request 'fix: dashboard admin' (#56) from amalia/02-des-25 into main

Reviewed-on: http://wibugit.wibudev.com/wibu/jenna-mcp/pulls/56
This commit is contained in:
2025-12-02 12:01:42 +08:00
2 changed files with 8 additions and 8 deletions

View File

@@ -171,7 +171,7 @@ function ListPelayananSurat({ status }: { status: StatusKey }) {
return (
<Stack gap="xl">
<Grid>
<Grid.Col span={10}>
<Grid.Col span={9}>
<Input
value={value}
placeholder="Cari pengajuan..."
@@ -187,9 +187,9 @@ function ListPelayananSurat({ status }: { status: StatusKey }) {
}
/>
</Grid.Col>
<Grid.Col span={2}>
<Group justify="space-between" grow>
<Text size="sm">{`${pageSize * (page - 1) + 1} ${Math.min(total, pageSize * page)} of ${total}`}</Text>
<Grid.Col span={3}>
<Group justify="flex-end">
<Text size="sm" c="gray.5">{`${pageSize * (page - 1) + 1} ${Math.min(total, pageSize * page)} of ${total}`}</Text>
<Pagination total={totalPage} value={page} onChange={setPage} withPages={false} />
</Group>
</Grid.Col>

View File

@@ -179,7 +179,7 @@ function ListPengaduan({ status }: { status: StatusKey }) {
return (
<Stack gap="xl">
<Grid>
<Grid.Col span={10}>
<Grid.Col span={9}>
<Input
value={value}
placeholder="Cari pengaduan..."
@@ -195,9 +195,9 @@ function ListPengaduan({ status }: { status: StatusKey }) {
}
/>
</Grid.Col>
<Grid.Col span={2}>
<Group justify="space-between" grow>
<Text size="sm">{`${pageSize * (page - 1) + 1} ${Math.min(total, pageSize * page)} of ${total}`}</Text>
<Grid.Col span={3}>
<Group justify="flex-end">
<Text size="sm" c="gray.5">{`${pageSize * (page - 1) + 1} ${Math.min(total, pageSize * page)} of ${total}`}</Text>
<Pagination total={totalPage} value={page} onChange={setPage} withPages={false} />
</Group>
</Grid.Col>