Skip to content

Commit

Permalink
Remove unused popover plugin from masthead components
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed May 29, 2024
1 parent d0ebcbe commit a6c8899
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 1 addition & 5 deletions client/src/components/Masthead/MastheadDropdown.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<script setup>
import { BDropdownItem, BNavItemDropdown, VBPopoverPlugin, VBTooltipPlugin } from "bootstrap-vue";
import { withPrefix } from "utils/redirect";
import { BDropdownItem, BNavItemDropdown, VBTooltipPlugin } from "bootstrap-vue";
import Vue, { ref } from "vue";
Vue.use(VBPopoverPlugin);
Vue.use(VBTooltipPlugin);
const dropdown = ref(null);
Expand Down Expand Up @@ -41,9 +39,7 @@ defineProps({
<BDropdownItem
v-for="(item, idx) in menu"
:key="idx"
:href="withPrefix(item.url)"
role="menuitem"
title=""
@click="item.handler">
<span class="fa fa-fw" :class="item.icon" />
<span>{{ item.title }}</span>
Expand Down
3 changes: 1 addition & 2 deletions client/src/components/Masthead/MastheadItem.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<script setup>
import { BNavItem, VBPopoverPlugin, VBTooltipPlugin } from "bootstrap-vue";
import { BNavItem, VBTooltipPlugin } from "bootstrap-vue";
import { withPrefix } from "utils/redirect";
import Vue from "vue";
Vue.use(VBPopoverPlugin);
Vue.use(VBTooltipPlugin);
/* props */
Expand Down

0 comments on commit a6c8899

Please sign in to comment.