diff --git a/elements/nuxeo-results/nuxeo-results.js b/elements/nuxeo-results/nuxeo-results.js index b0a67da7f3..ab2cfc8311 100644 --- a/elements/nuxeo-results/nuxeo-results.js +++ b/elements/nuxeo-results/nuxeo-results.js @@ -457,9 +457,7 @@ Polymer({ _computeCountLabel() { // Fetch the property value from web-ui-properties.xml const isNumberFormattingEnabled = - Nuxeo && Nuxeo.UI && Nuxeo.UI.config && Nuxeo.UI.config.numberFormattingEnabled !== undefined - ? Nuxeo.UI.config.numberFormattingEnabled - : false; // Default to false if the property is not set + (Nuxeo && Nuxeo.UI && Nuxeo.UI.config && Nuxeo.UI.config.numberFormattingEnabled) || false; if (this.resultsCount < 0) { return this.i18n('results.heading.count.unknown'); }