Skip to content

Commit d59f938

Browse files
committed
chore: fix typescript errors in GroumpsTable
1 parent fb816b9 commit d59f938

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adminforth/spa/src/components/GroupsTable.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
import { ref, computed, watch, nextTick, type Ref } from 'vue';
7171
import { useI18n } from 'vue-i18n';
7272
import ColumnValueInputWrapper from "@/components/ColumnValueInputWrapper.vue";
73+
import type { AdminForthResourceColumnInputCommon } from '@/types/Common';
7374
7475
const { t } = useI18n();
7576
@@ -89,7 +90,7 @@
8990
const customComponentsInValidity: Ref<Record<string, boolean>> = ref({});
9091
const customComponentsEmptiness: Ref<Record<string, boolean>> = ref({});
9192
const allColumnsHaveCustomComponent = computed(() => {
92-
return props.group.columns.every(column => {
93+
return props.group.columns.every((column: AdminForthResourceColumnInputCommon) => {
9394
const componentKey = `${props.source}Row` as keyof typeof column.components;
9495
return column.components?.[componentKey];
9596
});

0 commit comments

Comments
 (0)