Skip to content

Commit

Permalink
wip: Refactor collections based components #917
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Aug 5, 2024
1 parent eb79b57 commit e8ebf1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/client/components/collection/KCollection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,12 @@ const emit = defineEmits(['collection-refreshed', 'selection-changed'])
const { items, nbTotalItems, nbPages, currentPage, refreshCollection, resetCollection } = useCollection(toRefs(props))
let doneFunction = null
// Computed
const itemRenderer = computed(() => {
return loadComponent(props.renderer.component)
})
const rendererClass = computed(() => {
console.log(props.rendererClass)
return props.renderer.class || 'q-pa-sm col-12 col-sm-6 col-md-4'
return props.renderer.class || 'q-pa-sm col-12 col-sm-6 col-md-4 col-lg-3'
})
// Watch
Expand Down

0 comments on commit e8ebf1b

Please sign in to comment.