Skip to content

Commit

Permalink
tweaked block status text
Browse files Browse the repository at this point in the history
  • Loading branch information
mackuba committed Sep 22, 2023
1 parent 5c5ae3b commit fb7cbb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post_component.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class PostComponent {
let authorLink = p.querySelector('a');
let did = atURI(this.post.uri).repo;
let cachedHandle = api.findHandleByDid(did);
let blockStatus = this.post.blockedByUser ? 'has blocked you' : this.post.blocksUser ? 'blocked by you' : '';
let blockStatus = this.post.blockedByUser ? 'has blocked you' : this.post.blocksUser ? "you've blocked them" : '';

if (cachedHandle) {
this.post.author.handle = cachedHandle;
Expand Down

0 comments on commit fb7cbb5

Please sign in to comment.