Skip to content

Commit

Permalink
fix(NcAppNavigation): replace v-tooltip with native title
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme committed Nov 29, 2023
1 parent d1dc8bc commit 66392b2
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
-
-->
<template>
<NcButton v-tooltip.auto="label"
class="app-navigation-toggle"
<NcButton class="app-navigation-toggle"
type="tertiary"
:aria-expanded="open ? 'true' : 'false'"
:aria-label="label"
:title="label"
aria-controls="app-navigation-vue"
@click="toggleNavigation">
<template #icon>
Expand All @@ -38,7 +38,6 @@

<script>
import NcButton from '../NcButton/index.js'
import Tooltip from '../../directives/Tooltip/index.js'
import { t } from '../../l10n.js'

import MenuIcon from 'vue-material-design-icons/Menu.vue'
Expand All @@ -47,10 +46,6 @@ import MenuOpenIcon from 'vue-material-design-icons/MenuOpen.vue'
export default {
name: 'NcAppNavigationToggle',

directives: {
tooltip: Tooltip,
},

components: {
NcButton,
MenuIcon,
Expand Down

0 comments on commit 66392b2

Please sign in to comment.