mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
fix: subscription middleare
This commit is contained in:
@@ -77,6 +77,15 @@ function GlobalErrors({
|
||||
},
|
||||
});
|
||||
}
|
||||
if (globalErrors.subscriptionInactive) {
|
||||
AppToaster.show({
|
||||
message: `You can't add new data to Bigcapital because your subscription is inactive. Make sure your billing information is up-to-date from Preferences > Billing page.`,
|
||||
intent: Intent.DANGER,
|
||||
onDismiss: () => {
|
||||
globalErrorsSet({ subscriptionInactive: false });
|
||||
},
|
||||
});
|
||||
}
|
||||
if (globalErrors.userInactive) {
|
||||
AppToaster.show({
|
||||
message: intl.get('global_error.authorized_user_inactive'),
|
||||
|
||||
Reference in New Issue
Block a user