Skip to content

Commit

Permalink
Import components directly for better package size
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Dec 18, 2023
1 parent 2a2939f commit f77b042
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/utils/richObjects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import type { IRichObject } from '../models/types'

import { NcUserBubble } from '@nextcloud/vue'
import NcUserBubble from '@nextcloud/vue/dist/Components/NcUserBubble.js'
import FileRichArgument from '../components/richArgumentsTypes/FileRichArgument.vue'
import EmailRichArgument from '../components/richArgumentsTypes/EmailRichArgument.vue'
import SystemTagRichArgument from '../components/richArgumentsTypes/SystemTagRichArgument.vue'
Expand Down
13 changes: 5 additions & 8 deletions src/views/ActivityAppNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,11 @@ import { translate as t } from '@nextcloud/l10n'
import { generateUrl } from '@nextcloud/router'
import { computed, ref } from 'vue'
import {
NcAppNavigation,
NcAppNavigationItem,
NcAppNavigationSettings,
NcButton,
NcCheckboxRadioSwitch,
} from '@nextcloud/vue'
import NcAppNavigation from '@nextcloud/vue/dist/Components/NcAppNavigation.js'
import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
import NcAppNavigationSettings from '@nextcloud/vue/dist/Components/NcAppNavigationSettings.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
import NcInputField from '@nextcloud/vue/dist/Components/NcInputField.js'
import IconContentCopy from 'vue-material-design-icons/ContentCopy.vue'
import logger from '../utils/logger'
Expand Down
4 changes: 3 additions & 1 deletion src/views/ActivityTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ import axios from '@nextcloud/axios'
import { generateOcsUrl } from '@nextcloud/router'
import { translate as t } from '@nextcloud/l10n'
import { NcEmptyContent, NcIconSvgWrapper, NcLoadingIcon } from '@nextcloud/vue'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
import NcIconSvgWrapper from '@nextcloud/vue/dist/Components/NcIconSvgWrapper.js'
import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
import { getAdditionalEntries, getSidebarActions, getActivityFilters } from '../utils/api.ts'
import logger from '../utils/logger.ts'
Expand Down

0 comments on commit f77b042

Please sign in to comment.