Files
baserow/web-frontend/modules/database/components/formula/array/FunctionalFormulaURLArrayItem.vue
T
716d43a9a8 Nuxt 3 migration (#4342)
Update the nuxt3 version.

Co-authored-by: Jonathan Adeline <jonathan@baserow.io>
Co-authored-by: Bram Wiepjes <bramw@protonmail.com>
Co-authored-by: Cezary <cezary@baserow.io>
Co-authored-by: Tsering Paljor <tsering@baserow.io>
Co-authored-by: Przemyslaw Kukulski <przemyslaw+gh@baserow.io>
Co-authored-by: Bram <bram2w@users.noreply.github.com>
2026-01-22 10:27:19 +01:00

35 lines
727 B
Vue

<template>
<div v-if="value" class="array-field__item">
<div class="array-field__ellipsis" :title="value">
<a
v-if="selected"
:href="getHref(value)"
target="_blank"
rel="nofollow noopener noreferrer"
class="forced-pointer-events-auto"
@mousedown.stop
>{{ value }}</a
>
<u v-else>{{ value }}</u>
</div>
</div>
</template>
<script>
import linkURLField from '@baserow/modules/database/mixins/linkURLField'
export default {
name: 'FunctionalFormulaURLArrayItem',
mixins: [linkURLField],
props: {
value: {
type: String,
default: '',
},
selected: {
type: Boolean,
default: false,
},
},
}
</script>