Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 37c02da)
  • Loading branch information
Pytal committed Jul 15, 2023
1 parent 9ea167c commit f9cead7
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/components/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@

<script>
import { DashboardWidget } from '@nextcloud/vue-dashboard'
import EmptyContent from '@nextcloud/vue/dist/Components/EmptyContent'
import RecommendedFile from './RecommendedFile'
import EmptyContent from '@nextcloud/vue/dist/Components/EmptyContent.js'
import RecommendedFile from './RecommendedFile.vue'
export default {
name: 'Dashboard',
Expand Down
2 changes: 1 addition & 1 deletion src/components/Recommendations.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</template>

<script>
import RecommendedFile from './RecommendedFile'
import RecommendedFile from './RecommendedFile.vue'
export default {
name: 'Recommendations',
Expand Down
6 changes: 3 additions & 3 deletions src/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@

import Vue from 'vue'

import Nextcloud from './mixins/Nextcloud'
import Dashboard from './components/Dashboard'
import store from './store/store'
import Nextcloud from './mixins/Nextcloud.js'
import Dashboard from './components/Dashboard.vue'
import store from './store/store.js'

Vue.mixin(Nextcloud)

Expand Down
8 changes: 4 additions & 4 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@

import Vue from 'vue'

import Nextcloud from './mixins/Nextcloud'
import Recommendations from './components/Recommendations'
import Settings from './components/Settings'
import store from './store/store'
import Nextcloud from './mixins/Nextcloud.js'
import Recommendations from './components/Recommendations.vue'
import Settings from './components/Settings.vue'
import store from './store/store.js'

Vue.mixin(Nextcloud)
OC.Plugins.register('OCA.Files.FileList', {
Expand Down
2 changes: 1 addition & 1 deletion src/mixins/Nextcloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import { translate as t } from 'nextcloud-server/dist/l10n'
import { translate as t } from 'nextcloud-server/dist/l10n.js'

export default {
methods: {
Expand Down
2 changes: 1 addition & 1 deletion src/service/RecommendationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/

import Axios from '@nextcloud/axios'
import { generateUrl } from 'nextcloud-server/dist/router'
import { generateUrl } from 'nextcloud-server/dist/router.js'

export const fetchRecommendedFiles = (always) => {
const url = generateUrl('/apps/recommendations/api/recommendations' + (always ? '/always' : ''))
Expand Down
4 changes: 2 additions & 2 deletions src/store/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
import Vue from 'vue'
import Vuex from 'vuex'
import axios from '@nextcloud/axios'
import { generateUrl } from 'nextcloud-server/dist/router'
import { fetchRecommendedFiles } from '../service/RecommendationService'
import { generateUrl } from 'nextcloud-server/dist/router.js'
import { fetchRecommendedFiles } from '../service/RecommendationService.js'

Vue.use(Vuex)

Expand Down

0 comments on commit f9cead7

Please sign in to comment.