mirror of https://github.com/halo-dev/halo
fix: post modified in the recycle will be restored (#1820)
parent
63e8cd0cd5
commit
8591a1ecbf
|
@ -155,7 +155,7 @@ public class PostRefreshStatusListener {
|
|||
status = PostStatus.INTIMATE;
|
||||
} else if (isPrivate) {
|
||||
status = PostStatus.INTIMATE;
|
||||
} else {
|
||||
} else if (!PostStatus.RECYCLE.equals(status)) {
|
||||
status = PostStatus.PUBLISHED;
|
||||
}
|
||||
} else if (!isPrivate && StringUtils.isBlank(post.getPassword())) {
|
||||
|
|
Loading…
Reference in New Issue