Skip to content

Commit

Permalink
Don't show "Edit" on pending reposts.
Browse files Browse the repository at this point in the history
  • Loading branch information
miko committed Dec 11, 2023
1 parent 4be6296 commit 2103a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/component/claimMenuList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const select = (state, props) => {
const { uri } = props;
const claim = selectClaimForUri(state, uri, false);
const collectionId = props.collectionId;
const repostedClaim = claim && claim.reposted_claim;
const repostedClaim = claim?.reposted_claim || claim?.value?.claim_hash;
const contentClaim = repostedClaim || claim;
const contentSigningChannel = contentClaim && contentClaim.signing_channel;
const contentPermanentUri = contentClaim && contentClaim.permanent_url;
Expand Down

0 comments on commit 2103a3d

Please sign in to comment.