Skip to content

Commit

Permalink
chore: satisfy linter
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
  • Loading branch information
blizzz committed Jun 28, 2023
1 parent a1a5cc1 commit 0f77d3e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/components/TagCover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ import ImageMultipleIcon from 'vue-material-design-icons/ImageMultiple.vue'
import { generateUrl } from '@nextcloud/router'
import AbortControllerMixin from '../mixins/AbortControllerMixin.js'
import { loadState } from '@nextcloud/initial-state'
export default {
name: 'TagCover',
Expand Down
12 changes: 6 additions & 6 deletions src/utils/fileUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ function extractTagInfo(obj) {

// format key and add it to the tagInfo
switch (data) {
case 'false':
return { ...tagInfo, [camelcase(key)]: false }
case 'true':
return { ...tagInfo, [camelcase(key)]: true }
default:
return { ...tagInfo, [camelcase(key)]: isNumber(data) ? Number(data) : data }
case 'false':
return { ...tagInfo, [camelcase(key)]: false }
case 'true':
return { ...tagInfo, [camelcase(key)]: true }
default:
return { ...tagInfo, [camelcase(key)]: isNumber(data) ? Number(data) : data }
}
}, {})

Expand Down
1 change: 0 additions & 1 deletion src/views/Tags.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
import { mapGetters } from 'vuex'
import { NcEmptyContent, NcLoadingIcon } from '@nextcloud/vue'
import { loadState } from '@nextcloud/initial-state'
import TagCover from '../components/TagCover.vue'
import AbortControllerMixin from '../mixins/AbortControllerMixin.js'
Expand Down

0 comments on commit 0f77d3e

Please sign in to comment.