mirror of
https://github.com/baserow/baserow.git
synced 2026-12-06 09:18:47 +00:00
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>
30 lines
753 B
Vue
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>
|