|
|
|
@ -20,22 +20,12 @@ const rowHeight = inject(RowHeightInj, ref(1) as any)
|
|
|
|
|
|
|
|
|
|
provide(RowHeightInj, providedHeightRef) |
|
|
|
|
|
|
|
|
|
const relationColumn = computed( |
|
|
|
|
() => |
|
|
|
|
const relationColumn = computed( |
|
|
|
|
() => |
|
|
|
|
meta.value?.id ? metas.value[meta.value?.id]?.columns?.find( |
|
|
|
|
(c: ColumnType) => c.id === (column.value?.colOptions as LookupType)?.fk_relation_column_id, |
|
|
|
|
) : undefined as |
|
|
|
|
| (ColumnType & { |
|
|
|
|
colOptions: LinkToAnotherRecordType | undefined |
|
|
|
|
}) |
|
|
|
|
| undefined, |
|
|
|
|
) |
|
|
|
|
| (ColumnType & { |
|
|
|
|
colOptions: LinkToAnotherRecordType | undefined |
|
|
|
|
}) |
|
|
|
|
| undefined, |
|
|
|
|
const relationColumn = computed(() => |
|
|
|
|
meta.value?.id |
|
|
|
|
? metas.value[meta.value?.id]?.columns?.find( |
|
|
|
|
(c: ColumnType) => c.id === (column.value?.colOptions as LookupType)?.fk_relation_column_id, |
|
|
|
|
) |
|
|
|
|
: undefined, |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
watch( |
|
|
|
|