Refactor the client to implement a channel navbar #76

Open
twig wants to merge 22 commits from navbar into main
2 changed files with 2 additions and 9 deletions
Showing only changes of commit 74ba8ea91d - Show all commits

View file

@ -33,14 +33,6 @@ const friends = await fetchFriends()
function updateFilter(newFilter: string) {
filter.value = newFilter;
}
onMounted(async () => {
updateNavbar({isDirectMessages: true})
})
onActivated(async () => {
updateNavbar({isDirectMessages: true})
})
</script>
<style module>

View file

@ -2,7 +2,8 @@
<NuxtLayout name="client">
<GuildSidebar v-if="guild" :guild="guild" />
<div class="flex-container-column">
<GuildNavbar id="navbar"
<GuildNavbar id="navbar"
v-if="guild"
:guild="guild" />
<div class="flex-container-row">