forked from cybrespace/pinafore
parent
d9ae0666c2
commit
a21541ce4b
|
@ -23,14 +23,17 @@
|
|||
{{numFollowersDisplay}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="account-profile-more-options">
|
||||
<IconButton
|
||||
label="More options"
|
||||
href="#fa-bars"
|
||||
muted="true"
|
||||
on:click="onMoreOptionsClick()"
|
||||
/>
|
||||
</div>
|
||||
<!-- TODO: re-enable this when we support profile editing -->
|
||||
{{#if account && verifyCredentials && account.id !== verifyCredentials.id}}
|
||||
<div class="account-profile-more-options">
|
||||
<IconButton
|
||||
label="More options"
|
||||
href="#fa-bars"
|
||||
muted="true"
|
||||
on:click="onMoreOptionsClick()"
|
||||
/>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<style>
|
||||
.account-profile-details {
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
}
|
||||
return relationship && relationship.following
|
||||
},
|
||||
blocking: (relationship) => relationship.blocking,
|
||||
blocking: (relationship) => relationship && relationship.blocking,
|
||||
followRequested: (relationship, account) => {
|
||||
return relationship && relationship.requested && account && account.locked
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue