File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
adminforth/spa/src/components Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11<template >
2- <div class =" overflow-x-auto rounded-default shadow-resourseFormShadow dark:shadow-darkResourseFormShadow" >
2+ <div : class =" ` overflow-x-auto ${isRounded ? ' rounded-default' : ''} shadow-resourseFormShadow dark:shadow-darkResourseFormShadow` " >
33 <div v-if =" groupName && !noTitle" class =" text-md font-semibold px-6 py-3 flex flex-1 items-center dark:border-gray-600 text-gray-700 bg-lightFormHeading dark:bg-gray-700 dark:text-gray-400 rounded-t-lg" >
44 {{ groupName }}
55 </div >
6060 import { getCustomComponent } from ' @/utils' ;
6161 import { useCoreStore } from ' @/stores/core' ;
6262 import { computed } from ' vue' ;
63- const props = defineProps <{
63+ const props = withDefaults ( defineProps <{
6464 columns: Array <{
6565 name: string ;
6666 label: string ;
8080 noTitle? : boolean ;
8181 resource: Record <string , any >;
8282 record: Record <string , any >;
83- }>();
84-
83+ isRounded? : boolean ;
84+ }>(), {
85+ isRounded: true
86+ });
87+
8588 const coreStore = useCoreStore ();
8689 const allColumnsHaveCustomComponent = computed (() => {
8790 return props .columns .every (column => {
You can’t perform that action at this time.
0 commit comments