|
|
@ -38,13 +38,13 @@
|
|
|
|
Posts
|
|
|
|
Posts
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="font-weight-light pr-5">
|
|
|
|
<div v-if="profileSettings.followers.count" class="font-weight-light pr-5">
|
|
|
|
<a class="text-dark cursor-pointer" v-on:click="followersModal()">
|
|
|
|
<a class="text-dark cursor-pointer" v-on:click="followersModal()">
|
|
|
|
<span class="font-weight-bold">{{profile.followers_count}}</span>
|
|
|
|
<span class="font-weight-bold">{{profile.followers_count}}</span>
|
|
|
|
Followers
|
|
|
|
Followers
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="font-weight-light pr-5">
|
|
|
|
<div v-if="profileSettings.following.count" class="font-weight-light pr-5">
|
|
|
|
<a class="text-dark cursor-pointer" v-on:click="followingModal()">
|
|
|
|
<a class="text-dark cursor-pointer" v-on:click="followingModal()">
|
|
|
|
<span class="font-weight-bold">{{profile.following_count}}</span>
|
|
|
|
<span class="font-weight-bold">{{profile.following_count}}</span>
|
|
|
|
Following
|
|
|
|
Following
|
|
|
@ -318,7 +318,8 @@
|
|
|
|
<script type="text/javascript">
|
|
|
|
<script type="text/javascript">
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
props: [
|
|
|
|
props: [
|
|
|
|
'profile-id'
|
|
|
|
'profile-id',
|
|
|
|
|
|
|
|
'profile-settings'
|
|
|
|
],
|
|
|
|
],
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
@ -671,6 +672,9 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
followingModal() {
|
|
|
|
followingModal() {
|
|
|
|
|
|
|
|
if(this.profileSettings.following.list == false) {
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
if(this.following.length > 0) {
|
|
|
|
if(this.following.length > 0) {
|
|
|
|
this.$refs.followingModal.show();
|
|
|
|
this.$refs.followingModal.show();
|
|
|
|
return;
|
|
|
|
return;
|
|
|
@ -691,6 +695,9 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
followersModal() {
|
|
|
|
followersModal() {
|
|
|
|
|
|
|
|
if(this.profileSettings.followers.list == false) {
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
if(this.followers.length > 0) {
|
|
|
|
if(this.followers.length > 0) {
|
|
|
|
this.$refs.followerModal.show();
|
|
|
|
this.$refs.followerModal.show();
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|