Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL Sosial
tbcare
tbcare-web
Commits
b151c5c7
Commit
b151c5c7
authored
Jun 06, 2021
by
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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/scenes/ActivityLog/components/ActivityList/index.tsx
View file @
b151c5c7
...
...
@@ -201,7 +201,7 @@ export default function ActivityList() {
<
Box
width
=
"100%"
mainAxis
=
"flex-end"
>
<
Text
color
=
{
colors
.
mediumGray
}
>
{
((
page
-
1
)
*
1
0
+
logList
.
length
).
toString
()
+
'
dari
'
+
totalLog
}
{
((
page
-
1
)
*
2
0
+
logList
.
length
).
toString
()
+
'
dari
'
+
totalLog
}
</
Text
>
<
Gap
gap
=
{
12
}
axis
=
{
Gap
.
Axis
.
Horizontal
}
/>
<
Icon
...
...
src/scenes/ActivityLog/components/ActivityTabel/index.tsx
View file @
b151c5c7
...
...
@@ -9,7 +9,7 @@ import {
}
from
'
scenes/ActivityLog/utilities/utils
'
;
export
default
function
ActivityTabel
()
{
const
itemPerPage
=
1
0
;
const
itemPerPage
=
2
0
;
const
{
services
}
=
useContext
(
AppContext
);
const
[
logList
,
setLogList
]
=
useState
<
Log
[]
>
([]);
const
[
logTable
,
setLogTable
]
=
useState
<
Log
[]
>
([]);
...
...
@@ -299,7 +299,7 @@ export default function ActivityTabel() {
});
}
}
}
itemPerPage
=
{
1
0
}
itemPerPage
=
{
2
0
}
/>
</>
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment