I try another option like this : methods: {
updateAvailable (event) {
this.registration = event.detail
this.updateExists = true
this.refreshApp()
}. So if detect new version, it immediately called refreshApp method. So user don't need to click the update button
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I try another option like this :
methods: {
. So if detect new version, it immediately called refreshApp method. So user don't need to click the update buttonupdateAvailable (event) {
this.registration = event.detail
this.updateExists = true
this.refreshApp()
}