Skip to content

Commit f7bb03f

Browse files
committed
fix: Remove deprecated directive
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
1 parent c58d386 commit f7bb03f

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/components/NotePlain.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<span class="action-buttons">
5454
<NcActions :open.sync="actionsOpen" container=".action-buttons" menu-align="right">
5555
<NcActionButton
56-
v-tooltip.left="t('notes', 'CTRL + /')"
56+
:title="t('notes', 'CTRL + /')"
5757
@click="onTogglePreview"
5858
>
5959
<PencilOutlineIcon v-if="preview" slot="icon" :size="20" />
@@ -96,7 +96,6 @@ import NcActions from '@nextcloud/vue/components/NcActions'
9696
import NcActionButton from '@nextcloud/vue/components/NcActionButton'
9797
import NcAppContent from '@nextcloud/vue/components/NcAppContent'
9898
import NcModal from '@nextcloud/vue/components/NcModal'
99-
import Tooltip from '@nextcloud/vue/directives/Tooltip'
10099
import { useIsMobile } from '@nextcloud/vue/composables/useIsMobile'
101100
import { showError } from '@nextcloud/dialogs'
102101
import { emit, subscribe, unsubscribe } from '@nextcloud/event-bus'
@@ -133,10 +132,6 @@ export default {
133132
ThePreview,
134133
},
135134
136-
directives: {
137-
tooltip: Tooltip,
138-
},
139-
140135
props: {
141136
noteId: {
142137
type: String,

0 commit comments

Comments
 (0)