Skip to content

Commit

Permalink
[SXA] #539752 The site can't be opened in the EE and Pages in case th…
Browse files Browse the repository at this point in the history
…e rendering host was connected to the site that was not published (#1081)

* #539752 The site can't be opened in the EE and Pages in case the rendering host was connected to the site that was not published

* Update

* UpdatE
  • Loading branch information
sc-dawidrutkowski authored Jun 28, 2022
1 parent e64b2d4 commit 37d444e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class GraphQLRedirectsService {
});

return redirectsResult
.then((result: RedirectsQueryResult) => result.site.siteInfo.redirects)
.then((result: RedirectsQueryResult) => result?.site?.siteInfo?.redirects || [])
.catch((e) => Promise.reject(e));
}

Expand Down

0 comments on commit 37d444e

Please sign in to comment.