Add limits to Following
This commit is contained in:
parent
44ba4749f9
commit
d1c0e9aae9
7 changed files with 43 additions and 9 deletions
|
@ -1083,7 +1083,11 @@
|
|||
item: id
|
||||
}).then(res => {
|
||||
this.suggestions.splice(index, 1);
|
||||
})
|
||||
}).catch(err => {
|
||||
if(err.response.data.message) {
|
||||
swal('Error', err.response.data.message, 'error');
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
followModalAction(id, index, type = 'following') {
|
||||
|
@ -1093,7 +1097,11 @@
|
|||
if(type == 'following') {
|
||||
this.following.splice(index, 1);
|
||||
}
|
||||
})
|
||||
}).catch(err => {
|
||||
if(err.response.data.message) {
|
||||
swal('Error', err.response.data.message, 'error');
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
owner(status) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue