diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-03-23 07:38:34 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-03-23 08:14:19 +0100 |
commit | 8633f13e0af8c803cd419af2a611c41708e9c7c1 (patch) | |
tree | 41a081d0162fa7cf60a83aab18be6976f0b1d795 /apps/user_status | |
parent | 5adfec3dc60636fe2da5577dee5299ec0fd9195c (diff) | |
download | nextcloud-server-8633f13e0af8c803cd419af2a611c41708e9c7c1.tar.gz nextcloud-server-8633f13e0af8c803cd419af2a611c41708e9c7c1.zip |
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/user_status')
-rw-r--r-- | apps/user_status/src/UserStatus.vue | 6 | ||||
-rw-r--r-- | apps/user_status/src/components/PredefinedStatus.vue | 2 | ||||
-rw-r--r-- | apps/user_status/src/components/PredefinedStatusesList.vue | 2 | ||||
-rw-r--r-- | apps/user_status/src/components/SetStatusModal.vue | 4 | ||||
-rw-r--r-- | apps/user_status/src/dashboard.js | 2 | ||||
-rw-r--r-- | apps/user_status/src/filters/clearAtFilter.js | 2 | ||||
-rw-r--r-- | apps/user_status/src/services/clearAtService.js | 2 | ||||
-rw-r--r-- | apps/user_status/src/store/index.js | 4 | ||||
-rw-r--r-- | apps/user_status/src/store/predefinedStatuses.js | 2 | ||||
-rw-r--r-- | apps/user_status/src/store/userStatus.js | 4 | ||||
-rw-r--r-- | apps/user_status/src/views/Dashboard.vue | 6 |
11 files changed, 18 insertions, 18 deletions
diff --git a/apps/user_status/src/UserStatus.vue b/apps/user_status/src/UserStatus.vue index 28c0896fee5..3c8cc151e76 100644 --- a/apps/user_status/src/UserStatus.vue +++ b/apps/user_status/src/UserStatus.vue @@ -61,8 +61,8 @@ import { loadState } from '@nextcloud/initial-state' import { subscribe, unsubscribe } from '@nextcloud/event-bus' import debounce from 'debounce' -import { sendHeartbeat } from './services/heartbeatService' -import OnlineStatusMixin from './mixins/OnlineStatusMixin' +import { sendHeartbeat } from './services/heartbeatService.js' +import OnlineStatusMixin from './mixins/OnlineStatusMixin.js' const { profileEnabled } = loadState('user_status', 'profileEnabled', false) @@ -70,7 +70,7 @@ export default { name: 'UserStatus', components: { - SetStatusModal: () => import(/* webpackChunkName: 'user-status-modal' */'./components/SetStatusModal'), + SetStatusModal: () => import(/* webpackChunkName: 'user-status-modal' */'./components/SetStatusModal.vue'), }, mixins: [OnlineStatusMixin], diff --git a/apps/user_status/src/components/PredefinedStatus.vue b/apps/user_status/src/components/PredefinedStatus.vue index bca94b41a76..b1a16d6fa59 100644 --- a/apps/user_status/src/components/PredefinedStatus.vue +++ b/apps/user_status/src/components/PredefinedStatus.vue @@ -37,7 +37,7 @@ </template> <script> -import { clearAtFilter } from '../filters/clearAtFilter' +import { clearAtFilter } from '../filters/clearAtFilter.js' export default { name: 'PredefinedStatus', diff --git a/apps/user_status/src/components/PredefinedStatusesList.vue b/apps/user_status/src/components/PredefinedStatusesList.vue index cff03289715..6d62eee8b0c 100644 --- a/apps/user_status/src/components/PredefinedStatusesList.vue +++ b/apps/user_status/src/components/PredefinedStatusesList.vue @@ -37,7 +37,7 @@ </template> <script> -import PredefinedStatus from './PredefinedStatus' +import PredefinedStatus from './PredefinedStatus.vue' import { mapState } from 'vuex' export default { diff --git a/apps/user_status/src/components/SetStatusModal.vue b/apps/user_status/src/components/SetStatusModal.vue index d7adc99da14..c3f0a793df3 100644 --- a/apps/user_status/src/components/SetStatusModal.vue +++ b/apps/user_status/src/components/SetStatusModal.vue @@ -73,8 +73,8 @@ <script> import { showError } from '@nextcloud/dialogs' -import NcModal from '@nextcloud/vue/dist/Components/NcModal' -import NcButton from '@nextcloud/vue/dist/Components/NcButton' +import NcModal from '@nextcloud/vue/dist/Components/NcModal.js' +import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' import { getAllStatusOptions } from '../services/statusOptionsService.js' import OnlineStatusMixin from '../mixins/OnlineStatusMixin.js' import PredefinedStatusesList from './PredefinedStatusesList.vue' diff --git a/apps/user_status/src/dashboard.js b/apps/user_status/src/dashboard.js index 9c3d94151d0..4554dcba1b0 100644 --- a/apps/user_status/src/dashboard.js +++ b/apps/user_status/src/dashboard.js @@ -23,7 +23,7 @@ import Vue from 'vue' import { getRequestToken } from '@nextcloud/auth' import { translate, translatePlural } from '@nextcloud/l10n' -import Dashboard from './views/Dashboard' +import Dashboard from './views/Dashboard.vue' // eslint-disable-next-line camelcase __webpack_nonce__ = btoa(getRequestToken()) diff --git a/apps/user_status/src/filters/clearAtFilter.js b/apps/user_status/src/filters/clearAtFilter.js index 9a99b9ec69f..b92a87fbf61 100644 --- a/apps/user_status/src/filters/clearAtFilter.js +++ b/apps/user_status/src/filters/clearAtFilter.js @@ -22,7 +22,7 @@ import { translate as t } from '@nextcloud/l10n' import moment from '@nextcloud/moment' -import { dateFactory } from '../services/dateService' +import { dateFactory } from '../services/dateService.js' /** * Formats a clearAt object to be human readable diff --git a/apps/user_status/src/services/clearAtService.js b/apps/user_status/src/services/clearAtService.js index a02905b90c9..2d527db0932 100644 --- a/apps/user_status/src/services/clearAtService.js +++ b/apps/user_status/src/services/clearAtService.js @@ -22,7 +22,7 @@ import { dateFactory, -} from './dateService' +} from './dateService.js' import moment from '@nextcloud/moment' /** diff --git a/apps/user_status/src/store/index.js b/apps/user_status/src/store/index.js index c2c270d14d8..caf4eb5f072 100644 --- a/apps/user_status/src/store/index.js +++ b/apps/user_status/src/store/index.js @@ -22,8 +22,8 @@ import Vue from 'vue' import Vuex, { Store } from 'vuex' -import predefinedStatuses from './predefinedStatuses' -import userStatus from './userStatus' +import predefinedStatuses from './predefinedStatuses.js' +import userStatus from './userStatus.js' Vue.use(Vuex) diff --git a/apps/user_status/src/store/predefinedStatuses.js b/apps/user_status/src/store/predefinedStatuses.js index e41ba24f7dd..05d18b51771 100644 --- a/apps/user_status/src/store/predefinedStatuses.js +++ b/apps/user_status/src/store/predefinedStatuses.js @@ -20,7 +20,7 @@ * */ -import { fetchAllPredefinedStatuses } from '../services/predefinedStatusService' +import { fetchAllPredefinedStatuses } from '../services/predefinedStatusService.js' const state = { predefinedStatuses: [], diff --git a/apps/user_status/src/store/userStatus.js b/apps/user_status/src/store/userStatus.js index 6d8b5bd1e1f..92bc4986c52 100644 --- a/apps/user_status/src/store/userStatus.js +++ b/apps/user_status/src/store/userStatus.js @@ -26,10 +26,10 @@ import { setPredefinedMessage, setCustomMessage, clearMessage, -} from '../services/statusService' +} from '../services/statusService.js' import { loadState } from '@nextcloud/initial-state' import { getCurrentUser } from '@nextcloud/auth' -import { getTimestampForClearAt } from '../services/clearAtService' +import { getTimestampForClearAt } from '../services/clearAtService.js' import { emit } from '@nextcloud/event-bus' const state = { diff --git a/apps/user_status/src/views/Dashboard.vue b/apps/user_status/src/views/Dashboard.vue index ef5a9832ebc..1f9201cd118 100644 --- a/apps/user_status/src/views/Dashboard.vue +++ b/apps/user_status/src/views/Dashboard.vue @@ -45,9 +45,9 @@ <script> import { loadState } from '@nextcloud/initial-state' -import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar' -import NcDashboardWidget from '@nextcloud/vue/dist/Components/NcDashboardWidget' -import NcDashboardWidgetItem from '@nextcloud/vue/dist/Components/NcDashboardWidgetItem' +import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js' +import NcDashboardWidget from '@nextcloud/vue/dist/Components/NcDashboardWidget.js' +import NcDashboardWidgetItem from '@nextcloud/vue/dist/Components/NcDashboardWidgetItem.js' import moment from '@nextcloud/moment' export default { |