writes number of pages after first post
This commit is contained in:
parent
87a71e4fc5
commit
8bb27affa0
1 changed files with 1 additions and 1 deletions
|
|
@ -1315,7 +1315,7 @@ const createPost = async (tags, title, content) => {
|
|||
)
|
||||
})
|
||||
|
||||
if (shouldBeNewPage) {
|
||||
if (shouldBeNewPage || numOfPages === 0) {
|
||||
await new Promise(res => {
|
||||
require('../Mediator')
|
||||
.getUser()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue