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
Functional Programming
Diskuy-Frontend
Commits
0cde542b
Commit
0cde542b
authored
Feb 19, 2021
by
Jonathan Chandra
Browse files
edit Topic.js
parent
bb8ab461
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/components/topic/Topic.jsx
View file @
0cde542b
...
...
@@ -48,7 +48,12 @@ export default function Topic(props) {
)
}
</
div
>
<
div
className
=
"list_threads_section"
>
<
ThreadList
thread
=
{
threads
}
/>
{
totalItems
==
0
&&
(
<
p
>
There are no threads with this topic yet
</
p
>
)
}
{
totalItems
!=
0
&&
(
<
ThreadList
thread
=
{
threads
}
/>
)
}
{
totalItems
!=
0
&&
(
<
div
className
=
"paginationContainer"
>
<
Pagination
...
...
src/styles/topic/Topic.css
View file @
0cde542b
...
...
@@ -16,6 +16,7 @@
flex-direction
:
column
;
margin-top
:
56px
;
justify-content
:
center
;
font-family
:
"DM Sans"
;
}
.sub_header_list_threads
{
...
...
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