1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-25 00:46:46 +00:00
bramw_baserow/web-frontend/modules/database/components/view/grid/fields/FunctionalGridViewFieldLinkRow.vue
2024-06-19 18:19:23 +00:00

28 lines
716 B
Vue

<template functional>
<div class="grid-view__cell grid-field-many-to-many__cell">
<div class="grid-field-many-to-many__list">
<div
v-for="item in props.value"
:key="item.id"
class="grid-field-many-to-many__item"
>
<span
class="grid-field-many-to-many__name"
:class="{
'grid-field-link-row__unnamed':
item.value === null || item.value === '',
}"
:title="item.value"
>
{{
item.value ||
parent.$t('functionnalGridViewFieldLinkRow.unnamed', {
value: item.id,
})
}}
</span>
</div>
</div>
</div>
</template>