Implement profile modal #52

Merged
twig merged 27 commits from profile-modal into main 2025-08-04 19:06:45 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 3beaddf0bd - Show all commits

View file

@ -4,7 +4,7 @@
<span class="member-display-name">{{ getDisplayName(props.member) }}</span>
</div>
<ModalProfilePopup v-if="modalPopupVisible" :profile="props.member"
:whendone="hideModalPopup"/>
:onFinish="hideModalPopup"/>
</template>
<script lang="ts" setup>

View file

@ -1,5 +1,5 @@
<template>
<ModalBase :obscure="true" :onClose="props.whendone" :onCloseButton="props.whendone">
<ModalBase :obscure="true" :onClose="props.onFinish" :onCloseButton="props.onFinish">
<div id="profile-container">
<div id="profile-header">
<div id="header-mask"></div>
@ -66,7 +66,7 @@ const { addFriend, fetchMe } = useApi();
const props = defineProps<ModalProps & {
profile: GuildMemberResponse,
whendone: any
onFinish: () => void
}>();
const friendsSinceRequest = await getFriendsSince(props.profile)