Merge branch 'master' of https://github.com/merelendor/evoleasing-account
This commit is contained in:
commit
6ca1548af7
@ -201,6 +201,8 @@ class SupportRequestPage extends React.Component
|
||||
|
||||
this.setState({ loading: true }, () =>
|
||||
{
|
||||
window.scrollTo(0, 0);
|
||||
|
||||
const contract_numbers = [];
|
||||
for(let i in selected_contracts)
|
||||
{
|
||||
@ -226,10 +228,7 @@ class SupportRequestPage extends React.Component
|
||||
})
|
||||
.then(() =>
|
||||
{
|
||||
this.setState({ loading: false, success: true, }, () =>
|
||||
{
|
||||
window.scrollTo(0, 0);
|
||||
});
|
||||
this.setState({ loading: false, success: true, });
|
||||
})
|
||||
.catch(() =>
|
||||
{
|
||||
@ -238,10 +237,7 @@ class SupportRequestPage extends React.Component
|
||||
}
|
||||
else
|
||||
{
|
||||
this.setState({ loading: false, success: true, }, () =>
|
||||
{
|
||||
window.scrollTo(0, 0);
|
||||
});
|
||||
this.setState({ loading: false, success: true, }, ());
|
||||
}
|
||||
})
|
||||
.catch(() =>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user