Skip to content

Commit

Permalink
fix(clayui.com): Check it mainTabURL is false instead of true
Browse files Browse the repository at this point in the history
  • Loading branch information
kresimir-coko committed Sep 18, 2020
1 parent 6b985b5 commit 54745f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clayui.com/gatsby/onCreateNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = exports.onCreateNode = ({actions, getNode, node}) => {
'@clayui/',
''
)}.html`;
} else if (mainTabURL) {
} else if (!mainTabURL) {
slug = `docs/components/${fileName
.replace('_', '-')
.toLowerCase()}.html`;
Expand Down

0 comments on commit 54745f2

Please sign in to comment.