Show "label has been placed..." even for self-labels (#3874)

* show labels placed on your content even if it's a self-label

even friendlier wording

friendlier wording

remove unnecessary `export`

temp revert reordering

show labels placed on your content even if it's a self-label

* Bump api 0.12.9

---------

Co-authored-by: Paul Frazee <pfrazee@gmail.com>
This commit is contained in:
Hailey 2024-05-11 15:07:50 -07:00 committed by GitHub
parent 08462375ca
commit 97750c4aab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 67 additions and 43 deletions

View file

@ -32,9 +32,7 @@ export function LabelsOnMe({
if (!labels || !currentAccount) {
return null
}
labels = labels.filter(
l => !l.val.startsWith('!') && l.src !== currentAccount.did,
)
labels = labels.filter(l => !l.val.startsWith('!'))
if (!labels.length) {
return null
}