Fakultas Ilmu Komputer UI

Commit b151c5c7 authored by Sean Zeliq Urian's avatar Sean Zeliq Urian
Browse files

[GREEN] change item per page max 20

parent c75f7ef0
Pipeline #81560 passed with stages
in 3 minutes and 52 seconds
......@@ -201,7 +201,7 @@ export default function ActivityList() {
<Box width="100%" mainAxis="flex-end">
<Text color={colors.mediumGray}>
{((page - 1) * 10 + logList.length).toString() + ' dari ' + totalLog}
{((page - 1) * 20 + logList.length).toString() + ' dari ' + totalLog}
</Text>
<Gap gap={12} axis={Gap.Axis.Horizontal} />
<Icon
......
......@@ -9,7 +9,7 @@ import {
} from 'scenes/ActivityLog/utilities/utils';
export default function ActivityTabel() {
const itemPerPage = 10;
const itemPerPage = 20;
const { services } = useContext(AppContext);
const [logList, setLogList] = useState<Log[]>([]);
const [logTable, setLogTable] = useState<Log[]>([]);
......@@ -299,7 +299,7 @@ export default function ActivityTabel() {
});
}
}}
itemPerPage={10}
itemPerPage={20}
/>
</>
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment