|
|
|
@ -5,9 +5,9 @@ import FileIcon from '~icons/nc-icons/file'
|
|
|
|
|
|
|
|
|
|
import { iconMap } from '#imports' |
|
|
|
|
|
|
|
|
|
const { relation, relatedTableTitle, displayValue, showHeader, tableTitle } = defineProps<{ |
|
|
|
|
const { relation, relatedTableTitle, displayValue, header, tableTitle } = defineProps<{ |
|
|
|
|
relation: string |
|
|
|
|
showHeader?: boolean |
|
|
|
|
header?: string | null |
|
|
|
|
tableTitle: string |
|
|
|
|
relatedTableTitle: string |
|
|
|
|
displayValue?: string |
|
|
|
@ -54,7 +54,7 @@ const relationMeta = computed(() => {
|
|
|
|
|
<template> |
|
|
|
|
<div class="flex sm:justify-between relative pb-2 items-center"> |
|
|
|
|
<div v-if="!isMobileMode" class="flex text-base font-bold justify-start items-center min-w-36"> |
|
|
|
|
{{ showHeader ? 'Linked Records' : '' }} |
|
|
|
|
{{ header ?? '' }} |
|
|
|
|
</div> |
|
|
|
|
<div class="flex flex-row sm:w-[calc(100%-16rem)] xs:w-full items-center justify-center gap-2 xs:(h-full)"> |
|
|
|
|
<div class="flex sm:justify-end w-[calc(50%-1.5rem)] xs:(w-[calc(50%-1.5rem)] h-full)"> |
|
|
|
|