Skip to content

Commit

Permalink
Run lint:fix
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge committed Feb 15, 2024
1 parent aec5811 commit 2cebaf0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion src/components/FileLegacy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
<script>
import { generateUrl } from '@nextcloud/router'
export default {
name: 'FileLegacy',
inheritAttrs: false,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Settings/PhotosSourceLocationsSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default defineComponent({
const pickedFolder = await this.openFilePicker(t('photos', 'Select a source folder for your media'))
// TODO: uncomment when SEARCH on multiple folders is implemented.
// if (this.photosSourceFolder.includes(pickedFolder)) {
// return
// return
// }
this.$store.dispatch('updateUserConfig', { key: 'photosSourceFolder', value: pickedFolder })
},
Expand Down
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ export default new Vue({
router,
store,
render: h => h(Photos),
})
})
14 changes: 7 additions & 7 deletions src/services/PhotoSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ export default async function (options = {}) {

// TODO: uncomment when SEARCH on multiple folders is implemented.
// const sourceFolders = store.state.userConfig.photosSourceFolder
// .map(folder => `
// <d:scope>
// <d:href>${davRootPath}/${folder}</d:href>
// <d:depth>infinity</d:depth>
// </d:scope>
// `)
// .join('\n')
// .map(folder => `
// <d:scope>
// <d:href>${davRootPath}/${folder}</d:href>
// <d:depth>infinity</d:depth>
// </d:scope>
// `)
// .join('\n')

options = Object.assign({
method: 'SEARCH',
Expand Down

0 comments on commit 2cebaf0

Please sign in to comment.