Skip to content

Commit

Permalink
WEBUI-1590:Allow option to configure integer display formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
yashgupta-hyland committed Dec 3, 2024
1 parent 96ac704 commit 1e1ffa6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions elements/nuxeo-results/nuxeo-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 1e1ffa6

Please sign in to comment.