Skip to content

Commit

Permalink
fix: updated code based on reviewer feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinan029 committed Oct 3, 2023
1 parent bd2fa42 commit 498831e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Configuration/Provisioning/data/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,11 @@ export default function useProvisioningContext() {
title: catalogCategoryTitle,
catalogUuid: catalog.uuid,
};
} else if (catalog.enterprise_catalog_query === predefinedQueries.everything
|| catalog.enterprise_catalog_query === predefinedQueries.executiveEducation
|| catalog.enterprise_catalog_query === predefinedQueries.openCourses
) {
} else if ([
predefinedQueries.everything,
predefinedQueries.executiveEducation,
predefinedQueries.openCourses,
].includes(catalog.enterprise_catalog_query)) {
catalogQuery = {
id: catalog?.enterprise_catalog_query,
title: catalogCategoryTitle.split(splitStringBudget)[0],
Expand Down

0 comments on commit 498831e

Please sign in to comment.