mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-05 04:18:40 +02:00
Fix ProfileView making weird request when leaving the view
This commit is contained in:
parent
811a5190eb
commit
8b38411710
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ export default {
|
||||||
watch: {
|
watch: {
|
||||||
'$route.params.user_id': {
|
'$route.params.user_id': {
|
||||||
handler: function (user_id) {
|
handler: function (user_id) {
|
||||||
this.refresh()
|
if (user_id !== null && user_id !== undefined) this.refresh()
|
||||||
},
|
},
|
||||||
deep: true,
|
deep: true,
|
||||||
immediate: true
|
immediate: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue