feat(FinancialReports): add loading progress bar.

fix(preformance): Optimize preformance of virtualized list.
fix(preformance): Optimize financial reports preformance.
This commit is contained in:
a.bouhuolia
2021-03-16 17:27:27 +02:00
parent f1cf02c9df
commit 42230fe64b
73 changed files with 969 additions and 320 deletions

View File

@@ -178,8 +178,8 @@ export function formattedExchangeRate(amount, currency) {
return formatter.format(amount);
}
export const ConditionalWrapper = ({ condition, wrapper, children }) =>
condition ? wrapper(children) : children;
export const ConditionalWrapper = ({ condition, wrapper, children, ...rest }) =>
condition ? wrapper({ children, ...rest }) : children;
export const checkRequiredProperties = (obj, properties) => {
return properties.some((prop) => {