Files
baserow/web-frontend/modules/database/components/formula/array/FunctionalFormulaDateArrayItem.vue
T

19 lines
541 B
Vue

<template functional>
<div class="array-field__item">
<div class="array-field__ellipsis">
{{ $options.methods.getDate(props.field, props.value) }}
<span v-if="props.field.date_include_time" class="array-field__time">
{{ $options.methods.getTime(props.field, props.value) }}
</span>
</div>
</div>
</template>
<script>
import readOnlyDateField from '@baserow/modules/database/mixins/readOnlyDateField'
export default {
name: 'FunctionalFormulaDateArrayItem',
mixins: [readOnlyDateField],
}
</script>