aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js')
-rw-r--r--server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js b/server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js
index 9198d30b927..03afa92c69c 100644
--- a/server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js
+++ b/server/sonar-web/src/main/js/helpers/handlebars/ifShowAvatars.js
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-function enableGravatar () {
+function enableGravatar() {
const getStore = require('../../app/utils/getStore').default;
const { getSettingValue } = require('../../store/rootReducer');
@@ -25,6 +25,6 @@ function enableGravatar () {
return (getSettingValue(store.getState(), 'sonar.lf.enableGravatar') || {}).value === 'true';
}
-module.exports = function (options) {
+module.exports = function(options) {
return enableGravatar() ? options.fn(this) : options.inverse(this);
};