From e8ebf1b05eecf597529e449eecb6fbf2a4d9c30d Mon Sep 17 00:00:00 2001 From: cnouguier Date: Mon, 5 Aug 2024 11:05:09 +0200 Subject: [PATCH] wip: Refactor collections based components #917 --- core/client/components/collection/KCollection.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/client/components/collection/KCollection.vue b/core/client/components/collection/KCollection.vue index 244956055..e77e66caf 100644 --- a/core/client/components/collection/KCollection.vue +++ b/core/client/components/collection/KCollection.vue @@ -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