We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa1e75f commit 26c6385Copy full SHA for 26c6385
src/components/Collection/Collection.js
@@ -36,7 +36,7 @@ class Collection extends React.Component {
36
37
render() {
38
const { collection, collections, collectionName, isSearchResults, searchTerm } = this.props;
39
- const newEntryUrl = collection.get('create') && getNewEntryUrl(collectionName);
+ const newEntryUrl = collection.get('create') ? getNewEntryUrl(collectionName) : '';
40
return (
41
<div className="nc-collectionPage-container">
42
<Sidebar collections={collections} searchTerm={searchTerm}/>
0 commit comments