mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-27 15:41:39 +01:00
Small bugifxes
This commit is contained in:
17
resources/js/components/Home/Version.js
vendored
17
resources/js/components/Home/Version.js
vendored
@@ -74,13 +74,16 @@ export default class Version extends Component {
|
||||
toast.info('Applying update');
|
||||
Axios.get('/api/update/move')
|
||||
.then((resp) => {
|
||||
this.setState({
|
||||
updateProgress: 100,
|
||||
});
|
||||
toast.success('Update successful. Refreshing your page...');
|
||||
setTimeout(function() {
|
||||
location.reload(true);
|
||||
}, 5000);
|
||||
Axios.get('/api/update/move')
|
||||
.then((resp) => {
|
||||
this.setState({
|
||||
updateProgress: 100,
|
||||
});
|
||||
toast.success('Update successful. Refreshing your page...');
|
||||
setTimeout(function() {
|
||||
location.reload(true);
|
||||
}, 5000);
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user