From 5d45df0dd7cab214010013c992abee72cdaa88a9 Mon Sep 17 00:00:00 2001 From: Justin Gasper Date: Thu, 22 Jun 2023 13:33:25 +1000 Subject: [PATCH 1/2] Revert "fix: return placeholder if items empty" This reverts commit 08fc24428b030c967abd2bad169a886bfcb6afc8. --- src/shared/containers/ContentfulLoader.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/containers/ContentfulLoader.jsx b/src/shared/containers/ContentfulLoader.jsx index 166463de09..858642d330 100644 --- a/src/shared/containers/ContentfulLoader.jsx +++ b/src/shared/containers/ContentfulLoader.jsx @@ -383,7 +383,7 @@ class ContentfulLoader extends React.Component { /* Some of the required data still pending to load: render a placeholder, * or nothing. */ - if (!data || _.isEmpty(Object.values(data.entries.items))) { + if (!data) { return _.isFunction(Placeholder) ? : Placeholder; } From 7b2d30bd67d44adaf941df7d1fd6bcbfd9018fa9 Mon Sep 17 00:00:00 2001 From: Justin Gasper Date: Thu, 22 Jun 2023 13:34:43 +1000 Subject: [PATCH 2/2] Deploy hotfix to staging for validation --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 572be62dc6..edf5ee9fdd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -379,6 +379,7 @@ workflows: branches: only: - develop + - HOTFIX_Contentful_Not_Working_June222023 # Production builds are exectuted # when PR is merged to the master # Don't change anything in this configuration