mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-27 15:41:39 +01:00
@@ -1,4 +1,10 @@
|
||||
{
|
||||
"1.2.1": [
|
||||
{
|
||||
"description": "Fixed issue where changelog entry with a link wouldn't show.",
|
||||
"link": ""
|
||||
}
|
||||
],
|
||||
"1.2.0": [
|
||||
{
|
||||
"description": "Added an updating mechainism within the app to keep code up to date.",
|
||||
|
||||
@@ -7,7 +7,7 @@ return [
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'version' => '1.2.0',
|
||||
'version' => '1.2.1',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
16
public/js/app.js
vendored
16
public/js/app.js
vendored
@@ -127928,14 +127928,16 @@ var Version = /*#__PURE__*/function (_Component) {
|
||||
|
||||
react_toastify__WEBPACK_IMPORTED_MODULE_3__["toast"].info('Applying update');
|
||||
axios__WEBPACK_IMPORTED_MODULE_2___default.a.get('/api/update/move').then(function (resp) {
|
||||
_this.setState({
|
||||
updateProgress: 100
|
||||
});
|
||||
axios__WEBPACK_IMPORTED_MODULE_2___default.a.get('/api/update/move').then(function (resp) {
|
||||
_this.setState({
|
||||
updateProgress: 100
|
||||
});
|
||||
|
||||
react_toastify__WEBPACK_IMPORTED_MODULE_3__["toast"].success('Update successful. Refreshing your page...');
|
||||
setTimeout(function () {
|
||||
location.reload(true);
|
||||
}, 5000);
|
||||
react_toastify__WEBPACK_IMPORTED_MODULE_3__["toast"].success('Update successful. Refreshing your page...');
|
||||
setTimeout(function () {
|
||||
location.reload(true);
|
||||
}, 5000);
|
||||
});
|
||||
});
|
||||
});
|
||||
})["catch"](function (err) {
|
||||
|
||||
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