diff --git a/package-lock.json b/package-lock.json index 46ef06aa..f7851422 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,6 @@ "stimulus-use": "^0.25.4", "vue": "^2.6.14", "vue-router": "^3.5.2", - "vue-scrollto": "^2.20.0", "vue-session": "^1.0.0", "vuex": "^3.6.2", "whatwg-fetch": "^3.6.2" @@ -2777,11 +2776,6 @@ "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", "dev": true }, - "node_modules/bezier-easing": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/bezier-easing/-/bezier-easing-2.1.0.tgz", - "integrity": "sha512-gbIqZ/eslnUFC1tjEvtz0sgx+xTK20wDnYMIA27VA04R7w6xxXQPZDbibjA9DTWZRA2CXtwHykkVzlCaAJAZig==" - }, "node_modules/big.js": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", @@ -8206,14 +8200,6 @@ "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.5.4.tgz", "integrity": "sha512-x+/DLAJZv2mcQ7glH2oV9ze8uPwcI+H+GgTgTmb5I55bCgY3+vXWIsqbYUzbBSZnwFHEJku4eoaH/x98veyymQ==" }, - "node_modules/vue-scrollto": { - "version": "2.20.0", - "resolved": "https://registry.npmjs.org/vue-scrollto/-/vue-scrollto-2.20.0.tgz", - "integrity": "sha512-7i+AGKJTThZnMEkhIPgrZjyAX+fXV7/rGdg+CV283uZZwCxwiMXaBLTmIc5RTA4uwGnT+E6eJle3mXQfM2OD3A==", - "dependencies": { - "bezier-easing": "2.1.0" - } - }, "node_modules/vue-session": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/vue-session/-/vue-session-1.0.0.tgz", @@ -10808,11 +10794,6 @@ "integrity": "sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==", "dev": true }, - "bezier-easing": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/bezier-easing/-/bezier-easing-2.1.0.tgz", - "integrity": "sha512-gbIqZ/eslnUFC1tjEvtz0sgx+xTK20wDnYMIA27VA04R7w6xxXQPZDbibjA9DTWZRA2CXtwHykkVzlCaAJAZig==" - }, "big.js": { "version": "5.2.2", "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", @@ -14754,14 +14735,6 @@ "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.5.4.tgz", "integrity": "sha512-x+/DLAJZv2mcQ7glH2oV9ze8uPwcI+H+GgTgTmb5I55bCgY3+vXWIsqbYUzbBSZnwFHEJku4eoaH/x98veyymQ==" }, - "vue-scrollto": { - "version": "2.20.0", - "resolved": "https://registry.npmjs.org/vue-scrollto/-/vue-scrollto-2.20.0.tgz", - "integrity": "sha512-7i+AGKJTThZnMEkhIPgrZjyAX+fXV7/rGdg+CV283uZZwCxwiMXaBLTmIc5RTA4uwGnT+E6eJle3mXQfM2OD3A==", - "requires": { - "bezier-easing": "2.1.0" - } - }, "vue-session": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/vue-session/-/vue-session-1.0.0.tgz", diff --git a/package.json b/package.json index 991dbb7c..6e274b26 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "stimulus-use": "^0.25.4", "vue": "^2.6.14", "vue-router": "^3.5.2", - "vue-scrollto": "^2.20.0", "vue-session": "^1.0.0", "vuex": "^3.6.2", "whatwg-fetch": "^3.6.2" diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Address.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Address.vue index 60de1b17..f210fb0a 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Address.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/Address.vue @@ -81,6 +81,7 @@ this.loadAddress() .then(() => { this.picker.setDate(new Date(this.userData.dateOfBirth), true); + this.$emit('loaded') }) }, mounted () { @@ -101,6 +102,9 @@ save () { this.formErrors = {} this.saveAddress(this.userData) + .then(() => { + this.$emit('loaded') + }) .catch(error => { this.alert({ message: 'Bitte überprüfe deine Eingaben.', diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/App.vue b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/App.vue index d0d3ab09..e2a001c4 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/App.vue +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/js/myep/App.vue @@ -1,8 +1,9 @@