From 58a5e6849d4e0abdc0fcecef9f869570870fe0ea Mon Sep 17 00:00:00 2001 From: yashgupta-hyland Date: Tue, 3 Dec 2024 14:36:30 +0530 Subject: [PATCH] ELEMENTS-1771:Allow option to configure Integer display Formatting nuxeo-checkbox-aggregation.js --- ui/nuxeo-aggregation/nuxeo-checkbox-aggregation.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/nuxeo-aggregation/nuxeo-checkbox-aggregation.js b/ui/nuxeo-aggregation/nuxeo-checkbox-aggregation.js index de6eb01de..86345b841 100644 --- a/ui/nuxeo-aggregation/nuxeo-checkbox-aggregation.js +++ b/ui/nuxeo-aggregation/nuxeo-checkbox-aggregation.js @@ -257,7 +257,8 @@ import { AggregationBehavior } from './nuxeo-aggregation-behavior.js'; _formatDocCount(docCount) { // Fetch the property value from web-ui-properties.xml - const isNumberFormattingEnabled = Nuxeo && Nuxeo.UI && Nuxeo.UI.config && Nuxeo.UI.config.numberFormattingEnabled || false; + const isNumberFormattingEnabled = Nuxeo && Nuxeo.UI && + Nuxeo.UI.config && Nuxeo.UI.config.numberFormattingEnabled || false; if (isNumberFormattingEnabled) { return new Intl.NumberFormat().format(docCount); // Apply formatting if enabled }