Skip to content

Commit

Permalink
fixed content manager bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix committed Sep 26, 2019
1 parent c7f3732 commit 240a7c4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/PostCover/PostCoverComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ class PostCover extends Component {
)
return true;

if (
fileNode.node.absolutePath.indexOf(
path.join("/", post.cover)
) !== -1
)
return true;

return false;
});

Expand Down

0 comments on commit 240a7c4

Please sign in to comment.