Disable the location.reloads

It might create better user experience, but for the small user group I
think the complexity is worse than the feature itself.
This commit is contained in:
Robert Schäfer 2019-06-06 12:35:49 +02:00
parent 610af0de7a
commit 2171add6f3
2 changed files with 0 additions and 11 deletions

View File

@ -68,9 +68,6 @@ export default {
setTimeout(() => {
this.$emit('close')
}, 1000)
setTimeout(() => {
location.reload()
}, 250)
} catch (err) {
this.$toast.error(err.message)
}

View File

@ -57,17 +57,9 @@ export default {
})
this.$toast.success(this.$t('release.success'))
this.isOpen = false
/*
setTimeout(() => {
location.reload()
}, 1500)
*/
setTimeout(() => {
this.$emit('close')
}, 1000)
setTimeout(() => {
location.reload()
}, 250)
} catch (err) {
this.$toast.error(err.message)
}