Refactor the client to implement a channel navbar #76

Open
twig wants to merge 23 commits from navbar into main
2 changed files with 7 additions and 3 deletions
Showing only changes of commit 3ac8595af6 - Show all commits

View file

@ -14,6 +14,7 @@
class="context-icon"
:name="props.contextName" :seed="props.guildUuid"/>
<NuxtImg v-else
class="context-icon"
:src="defaultIcon" />
<div class="context-title">

View file

@ -45,9 +45,12 @@ onActivated(async () => {
})
function updateNavbar() {
if (navbar.value) {
navbar.value.channelItems = []
navbar.value.contextName = "Direct Messages"
navbar.value.contextIcon = undefined
navbar.value.guildUuid = undefined
}
}
</script>