refactor: move logic for default icon navbar itself
This commit is contained in:
parent
89150a6cc6
commit
eb4427ff4b
2 changed files with 6 additions and 2 deletions
|
@ -45,10 +45,9 @@ onActivated(async () => {
|
|||
})
|
||||
|
||||
function updateNavbar() {
|
||||
const runtimeConfig = useRuntimeConfig();
|
||||
navbar.value.channelItems = []
|
||||
navbar.value.contextName = "Direct Messages"
|
||||
navbar.value.contextIcon = `${runtimeConfig.app.baseURL}/icon.svg`
|
||||
navbar.value.contextIcon = undefined
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue