hotfix for appeal request movement to top on sending
This commit is contained in:
parent
a2849ddb38
commit
acc547bfd1
@ -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