refactor: rename Channel to ChannelEntry

This commit is contained in:
Twig 2025-07-10 23:00:54 +02:00
parent 7b62d352f8
commit a3feb07e73
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -18,7 +18,7 @@
</h3> </h3>
</div> </div>
<div id="channels-list"> <div id="channels-list">
<Channel v-for="channel of channels" :name="channel.name" <ChannelEntry v-for="channel of channels" :name="channel.name"
:uuid="channel.uuid" :current-uuid="(route.params.channelId as string)" :uuid="channel.uuid" :current-uuid="(route.params.channelId as string)"
:href="`/servers/${route.params.serverId}/channels/${channel.uuid}`" /> :href="`/servers/${route.params.serverId}/channels/${channel.uuid}`" />
</div> </div>
@ -33,6 +33,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import ChannelEntry from "~/components/Guild/ChannelEntry.vue";
const route = useRoute(); const route = useRoute();
@ -90,7 +91,8 @@ function handleMemberClick(member: GuildMemberResponse) {
} }
#members-container { #members-container {
width: 15rem; min-width: 15rem;
max-width: 15rem;
border-left: 1px solid var(--padding-color); border-left: 1px solid var(--padding-color);
background: var(--optional-member-list-background); background: var(--optional-member-list-background);
} }