chore: revert ui. prefix when using useUI composable

This commit is contained in:
Benjamin Canac
2023-09-21 14:30:34 +02:00
parent 60210aad75
commit f24ff9c47f
34 changed files with 35 additions and 35 deletions

View File

@@ -150,7 +150,7 @@ export default defineComponent({
},
emits: ['update:modelValue'],
setup (props, { emit, attrs: $attrs }) {
const { ui, attrs } = useUI('ui.table', props.ui, config, { mergeWrapper: true })
const { ui, attrs } = useUI('table', props.ui, config, { mergeWrapper: true })
const columns = computed(() => props.columns ?? Object.keys(omit(props.rows[0] ?? {}, ['click'])).map((key) => ({ key, label: upperFirst(key), sortable: false })))