dont show load posts button if no posts
This commit is contained in:
parent
440f6c6607
commit
556cbdf168
1 changed files with 3 additions and 2 deletions
|
@ -93,8 +93,9 @@ function render() {
|
|||
</div>
|
||||
`
|
||||
|
||||
|
||||
if (data.posts.length > 0) {
|
||||
append(postsh)
|
||||
}
|
||||
|
||||
const about = `
|
||||
<div id="about" class="post ${posts ? 'hidden' : ''}">
|
||||
|
|
Loading…
Reference in a new issue