mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-06 12:49:37 +02:00
Fix profile view follow & ban status, Add ban status in GET profile API call
This commit is contained in:
parent
00e6b3de7b
commit
4c4481393d
8 changed files with 39 additions and 16 deletions
|
@ -2,6 +2,14 @@
|
|||
|
||||
export default {
|
||||
props: ["user_id", "name", "followed", "banned", "my_id", "show_new_post"],
|
||||
watch: {
|
||||
banned: function(new_val, old_val) {
|
||||
this.user_banned = new_val;
|
||||
},
|
||||
followed: function(new_val, old_val) {
|
||||
this.user_followed = new_val;
|
||||
},
|
||||
},
|
||||
data: function() {
|
||||
return {
|
||||
errorMsg: "aaa",
|
||||
|
@ -63,7 +71,6 @@ export default {
|
|||
},
|
||||
},
|
||||
created() {
|
||||
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue