Skip to content

Commit

Permalink
LPS-107177 Don't show draft blog
Browse files Browse the repository at this point in the history
  • Loading branch information
ealonso authored and adolfopa committed Jan 24, 2020
1 parent 650fcb6 commit 6e1ef52
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -92,7 +92,7 @@ public InfoDisplayObjectProvider<BlogsEntry> getInfoDisplayObjectProvider(

BlogsEntry blogsEntry = _blogsEntryService.getEntry(classPK);

if (blogsEntry.isInTrash()) {
if (blogsEntry.isDraft() || blogsEntry.isInTrash()) {
return null;
}

Expand Down

0 comments on commit 6e1ef52

Please sign in to comment.