Skip to content

Commit 61d2269

Browse files
authored
Merge pull request #6894 from topcoder-platform/HOTFIX_Contentful_Not_Working_June222023
Hotfix contentful not working june222023
2 parents 21b3f02 + 7b2d30b commit 61d2269

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ workflows:
379379
branches:
380380
only:
381381
- develop
382+
- HOTFIX_Contentful_Not_Working_June222023
382383
# Production builds are exectuted
383384
# when PR is merged to the master
384385
# Don't change anything in this configuration

src/shared/containers/ContentfulLoader.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ class ContentfulLoader extends React.Component {
383383

384384
/* Some of the required data still pending to load: render a placeholder,
385385
* or nothing. */
386-
if (!data || _.isEmpty(Object.values(data.entries.items))) {
386+
if (!data) {
387387
return _.isFunction(Placeholder) ? <Placeholder /> : Placeholder;
388388
}
389389

0 commit comments

Comments
 (0)