fix: typos
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline failed

This commit is contained in:
Twig 2025-08-04 03:33:01 +02:00
parent ef9b70410b
commit ebdb21d38f
Signed by: twig
SSH key fingerprint: SHA256:nBO+OwpTkd8LYhe38PIqdxmDvkIg9Vw2EbrRZM97dkU
3 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ let displayAvatar: string | null
if ("username" in props.profile) {
// assume it's a UserRespone
// assume it's a UserResponse
displayAvatar = props.profile.avatar
if (!displayAvatar) {
if (!isCanvasBlocked()) {

View file

@ -48,7 +48,7 @@
<span class="date-entry-value" :title="joinDate.toLocaleTimeString()">{{ toDateString(joinDate) }}</span>
</div>
<div v-if="friendsSince" class="date-entry">
<span class="date-entry-title">Friends Since</span><br>
<span class="date-entry-title">Friends since</span><br>
<span class="date-entry-value" :title="friendsSince.toLocaleTimeString()">{{ toDateString(friendsSince) }}</span>
</div>
</div>

View file

@ -13,7 +13,7 @@ export const useProfile = () => {
function getDisplayName (profile: UserResponse | GuildMemberResponse): string {
if ("username" in profile) {
// assume it's a UserRespone
// assume it's a UserResponse
if (profile.display_name) return profile.display_name
return profile.username
} else {