diff options
Diffstat (limited to 'src/components/Menu')
-rw-r--r-- | src/components/Menu/ActionAttachmentUpload.vue | 4 | ||||
-rw-r--r-- | src/components/Menu/ActionList.vue | 2 | ||||
-rw-r--r-- | src/components/Menu/ActionSingle.vue | 3 | ||||
-rw-r--r-- | src/components/Menu/BaseActionEntry.js | 2 | ||||
-rw-r--r-- | src/components/Menu/EmojiPickerAction.vue | 3 |
5 files changed, 5 insertions, 9 deletions
diff --git a/src/components/Menu/ActionAttachmentUpload.vue b/src/components/Menu/ActionAttachmentUpload.vue index a6f1918de..4e2fed543 100644 --- a/src/components/Menu/ActionAttachmentUpload.vue +++ b/src/components/Menu/ActionAttachmentUpload.vue @@ -55,9 +55,7 @@ </template> <script> -import NcActions from '@nextcloud/vue/dist/Components/NcActions.js' -import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js' - +import { NcActions, NcActionButton } from '@nextcloud/vue' import { Loading, Folder, Upload } from '../icons.js' import { useIsPublicMixin } from '../Editor.provider.js' import { BaseActionEntry } from './BaseActionEntry.js' diff --git a/src/components/Menu/ActionList.vue b/src/components/Menu/ActionList.vue index 6df3e23f6..662bd2fbf 100644 --- a/src/components/Menu/ActionList.vue +++ b/src/components/Menu/ActionList.vue @@ -42,7 +42,7 @@ </template> <script> -import NcActions from '@nextcloud/vue/dist/Components/NcActions.js' +import { NcActions } from '@nextcloud/vue' import { BaseActionEntry } from './BaseActionEntry.js' import ActionSingle from './ActionSingle.vue' import { getIsActive } from './utils.js' diff --git a/src/components/Menu/ActionSingle.vue b/src/components/Menu/ActionSingle.vue index dc3c21ee9..9278672c7 100644 --- a/src/components/Menu/ActionSingle.vue +++ b/src/components/Menu/ActionSingle.vue @@ -21,8 +21,7 @@ --> <script> -import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' -import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js' +import { NcButton, NcActionButton } from '@nextcloud/vue' import { BaseActionEntry } from './BaseActionEntry.js' export default { diff --git a/src/components/Menu/BaseActionEntry.js b/src/components/Menu/BaseActionEntry.js index 60b1b778e..9e8a7a723 100644 --- a/src/components/Menu/BaseActionEntry.js +++ b/src/components/Menu/BaseActionEntry.js @@ -22,7 +22,7 @@ /* eslint-disable jsdoc/valid-types */ -import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip.js' +import { Tooltip } from '@nextcloud/vue' import debounce from 'debounce' import { useEditorMixin, useIsMobileMixin } from '../Editor.provider.js' diff --git a/src/components/Menu/EmojiPickerAction.vue b/src/components/Menu/EmojiPickerAction.vue index f2ce30fcb..d39e16e7d 100644 --- a/src/components/Menu/EmojiPickerAction.vue +++ b/src/components/Menu/EmojiPickerAction.vue @@ -38,8 +38,7 @@ <script> import { BaseActionEntry } from './BaseActionEntry.js' -import NcEmojiPicker from '@nextcloud/vue/dist/Components/NcEmojiPicker.js' -import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' +import { NcEmojiPicker, NcButton } from '@nextcloud/vue' export default { name: 'EmojiPickerAction', |