Skip to content

Commit

Permalink
Add a config to hide categories and last assured date
Browse files Browse the repository at this point in the history
  • Loading branch information
devcshort committed Aug 29, 2023
1 parent 7dfa38e commit 9d90e31
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/client/webpack/createAppFromStrapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ module.exports = async function createFromStrapi(dir) {
},
showLocationInput: page.showLocationInput ?? false,
};
} else if (page.page === 'resource') {
newAppConfig.pages[page.page] = {
hideCategories: page.hideCategories ?? false,
hideLastAssured: page.hideLastAssured ?? false,
};
}
}

Expand Down

0 comments on commit 9d90e31

Please sign in to comment.