Skip to content

Commit

Permalink
fix: restore missing href assignment for getObjectPage
Browse files Browse the repository at this point in the history
  • Loading branch information
akhileshthite committed May 17, 2024
1 parent 5f8aef7 commit 50e05a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actor-profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ class ActorProfile extends HTMLElement {
if (actorInfo.preferredUsername) {
const pUserName = document.createElement('div')
pUserName.classList.add('profile-username')
pUserName.href = db.getObjectPage(actorInfo)
pUserName.textContent = `@${actorInfo.preferredUsername}`
actorContainer.appendChild(pUserName) // Append to the actor container

Expand Down

0 comments on commit 50e05a8

Please sign in to comment.