Files
baserow/web-frontend/modules/database/components/view/grid/fields/FunctionalGridViewFieldLastModifiedBy.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

30 lines
753 B
Vue

<template>
<div ref="cell" class="grid-view__cell">
<div v-if="value" class="field-last-modified-by">
<div class="field-last-modified-by__name background-color--light-gray">
<span class="field-last-modified-by__name-text">{{
getCollaboratorName(value, $store)
}}</span>
</div>
<div class="field-last-modified-by__initials">
{{ getCollaboratorNameInitials(value, $store) }}
</div>
</div>
</div>
</template>
<script>
import collaboratorName from '@baserow/modules/database/mixins/collaboratorName'
export default {
name: 'FunctionalGridViewFieldLastModifiedBy',
mixins: [collaboratorName],
props: {
value: {
type: Object,
default: null,
},
},
}
</script>