diff --git a/src/components/_headNav.vue b/src/components/_headNav.vue index 1bc4782..3be982b 100644 --- a/src/components/_headNav.vue +++ b/src/components/_headNav.vue @@ -29,6 +29,7 @@ class="nav-item dropdown" > import { defineComponent } from 'vue' +import { Dropdown } from 'bootstrap' export default defineComponent({ computed: { @@ -72,6 +74,12 @@ export default defineComponent({ }, }, + mounted() { + if (this.isLoggedIn) { + new Dropdown(this.$refs.userMenuToggle) + } + }, + name: 'TwitchBotEditorHeadNav', props: { diff --git a/src/components/_toast.vue b/src/components/_toast.vue index 6dbd231..aa54b38 100644 --- a/src/components/_toast.vue +++ b/src/components/_toast.vue @@ -24,7 +24,14 @@