Skip to content

Commit

Permalink
fix: no-access-page error in catalog-portal
Browse files Browse the repository at this point in the history
  • Loading branch information
hegeaal committed Jan 22, 2025
1 parent 0b00714 commit a09c8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/catalog-portal/app/actions/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export async function getAllCatalogs() {
return isEmpty
? null
: {
datasetCatalogs: (datasetCatalogs._embedded?.catalogs as DatasetCatalog[]) ?? null,
datasetCatalogs: datasetCatalogs._embedded ? (datasetCatalogs._embedded?.catalogs as DatasetCatalog[]) : null,
dataServiceCatalogs: _.isEmpty(dataServiceCatalogs) ? null : dataServiceCatalogs,
conceptCatalogs: _.isEmpty(conceptCatalogs) ? null : conceptCatalogs,
recordsOfProcessingActivities: _.isEmpty(recordsOfProcessingActivities) ? null : recordsOfProcessingActivities,
Expand Down

0 comments on commit a09c8af

Please sign in to comment.