mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14: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:
@@ -11,4 +11,14 @@ export const fetchSubscriptions = () => (dispatch) => new Promise((resolve, reje
|
||||
});
|
||||
resolve(response);
|
||||
}).catch((error) => { reject(error); })
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
export const setSubscriptions = (subscriptions) => {
|
||||
return {
|
||||
type: t.SET_PLAN_SUBSCRIPTIONS_LIST,
|
||||
payload: {
|
||||
subscriptions,
|
||||
},
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user