Enable or Disable Rating¶
The star rating is enabled by default. You can disable the star rating by configuring the defaultTheme.js
file.
The defaultTheme.js
file has all the parameters defining the look and feel of the developer portal. To learn more about defaultTheme.js
refer here.
-
Open the
<API-M_HOME>/repository/deployment/server/jaggeryapps/devportal/site/public/theme/defaultTheme.js
file in a text editor and set thethemes.light.custom.social.showRating
attribute tofalse
if you want to disable the star rating.
2. Refresh the Developer Portal to view the changes.const Configurations = { custom: { social: { showRating: false, }, }, };