Add limits to Following

This commit is contained in:
Daniel Supernault 2019-06-01 20:18:21 -06:00
parent 44ba4749f9
commit d1c0e9aae9
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
7 changed files with 43 additions and 9 deletions

View file

@ -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) {