chore: change type hinting syntax on navbar init
This commit is contained in:
parent
5ce236c936
commit
74b698d728
1 changed files with 4 additions and 4 deletions
|
@ -152,18 +152,18 @@ const guilds = await api.fetchMyGuilds();
|
|||
|
||||
onMounted(() => {
|
||||
if (!navbar.value) {
|
||||
const helpItem = {
|
||||
const sourceLinkItem: NavbarItem = {
|
||||
title: "Source",
|
||||
icon: "lucide:code-xml",
|
||||
callback: () => { open("https://git.gorb.app/gorb/frontend") }
|
||||
} as NavbarItem
|
||||
}
|
||||
|
||||
navbar.value = {
|
||||
clientItems: [
|
||||
helpItem
|
||||
sourceLinkItem
|
||||
],
|
||||
channelItems: [] // set by the channel
|
||||
} as INavbar
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue