Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: satisfy linter
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Jul 7, 2023
commit 767135391c29b4648c8bc37ceaf1badf047b305a
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