Skip to content

Commit

Permalink
fixed docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
volar committed Jan 4, 2024
1 parent 7ac6a4b commit ae11b2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { h } from 'vue'
import Theme from 'vitepress/theme'
import './style.css'
import { createVuetify } from 'vuetify'
import { VDataTableServer } from 'vuetify/labs/VDataTable'
import { createVueI18nAdapter } from 'vuetify/locale/adapters/vue-i18n'
// @ts-ignore
import { i18n } from '@/plugins/i18nDocs'
Expand All @@ -21,9 +20,6 @@ import DocsExample from '../DocsExample.vue'
const { commonTheme, commonAliases, commonDefaults } = useCommonVuetifyConfig()
export const vuetify = createVuetify({
aliases: commonAliases(),
components: {
VDataTableServer,
},
locale: {
// @ts-ignore
adapter: createVueI18nAdapter({ i18n, useI18n }),
Expand Down
8 changes: 4 additions & 4 deletions docs/styleguide/views/ViewsDemoList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import ATableDetailButton from '@/components/buttons/table/ATableDetailButton.vu
import ATableEditButton from '@/components/buttons/table/ATableEditButton.vue'
import { i18n } from '@/plugins/i18nDocs'
type DatatableItem = { raw: any }
type DatatableItem = any
const filter = useDemoListFilter()
const { resetFilter, submitFilter } = useFilterHelpers()
Expand Down Expand Up @@ -75,13 +75,13 @@ onMounted(() => {
>
<template #item.actions="{ item }: { item: DatatableItem }">
<div class="d-flex justify-end">
<ATableCopyIdButton :id="item.raw.id" />
<ATableCopyIdButton :id="item.id" />
<ATableDetailButton
:record-id="item.raw.id"
:record-id="item.id"
route-name="name"
/>
<ATableEditButton
:record-id="item.raw.id"
:record-id="item.id"
route-name="name"
/>
</div>
Expand Down

0 comments on commit ae11b2e

Please sign in to comment.