Table sorting preferences will be saved and reused based on the user’s selections
This commit is contained in:
@@ -28,7 +28,7 @@ function createOpportunitiesDashboard({
|
||||
totalValue,
|
||||
"TOTAL",
|
||||
items.length,
|
||||
(amount) => `${Math.round(amount).toLocaleString()}/${totalCount.toLocaleString()}`
|
||||
(amount) => `${Math.round(amount).toLocaleString("en-US")}/${totalCount.toLocaleString("en-US")}`
|
||||
);
|
||||
totalCard.append(totalLabel, totalValue);
|
||||
dashboard.append(totalCard);
|
||||
@@ -81,7 +81,7 @@ function createOpportunitiesDashboard({
|
||||
}
|
||||
}
|
||||
|
||||
return (amount) => amount.toLocaleString(undefined, {
|
||||
return (amount) => amount.toLocaleString("en-US", {
|
||||
maximumFractionDigits: 0
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user