chore: remove now unused stuff
This commit is contained in:
parent
a9af11dcb8
commit
e64cc878b8
4 changed files with 3 additions and 42 deletions
|
@ -1,22 +0,0 @@
|
|||
import type { INavbar, NavbarOptions } from "~/types/interfaces";
|
||||
|
||||
const navbar = useState<INavbar>("navbar")
|
||||
|
||||
export default async (options: NavbarOptions) => {
|
||||
await nextTick()
|
||||
|
||||
if (navbar.value) {
|
||||
if (options.guild) {
|
||||
navbar.value.channelItems = []
|
||||
navbar.value.contextName = options.guild?.name
|
||||
navbar.value.contextIcon = options.guild?.icon ?? undefined
|
||||
navbar.value.guildUuid = options.guild?.uuid
|
||||
}
|
||||
else if (options.isDirectMessages) {
|
||||
navbar.value.channelItems = []
|
||||
navbar.value.contextName = "Direct Messages"
|
||||
navbar.value.contextIcon = undefined
|
||||
navbar.value.guildUuid = undefined
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue