mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
feat(FinancialReports): add loading progress bar.
fix(preformance): Optimize preformance of virtualized list. fix(preformance): Optimize financial reports preformance.
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user