1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-24 16:36:46 +00:00
bramw_baserow/web-frontend/modules/database/components/row/RowEditFieldDateReadOnly.vue
2021-08-11 07:39:58 +00:00

20 lines
508 B
Vue

<template>
<div class="control__elements">
<div class="field-date-read-only-timestamp">
{{ getDate(field, value)
}}<template v-if="field.date_include_time"
>&nbsp;{{ getTime(field, value) }}</template
>
</div>
</div>
</template>
<script>
import rowEditField from '@baserow/modules/database/mixins/rowEditField'
import readOnlyDateField from '@baserow/modules/database/mixins/readOnlyDateField'
export default {
mixins: [rowEditField, readOnlyDateField],
}
</script>