mirror of
https://gitlab.com/bramw/baserow.git
synced 2024-11-24 16:36:46 +00:00
38 lines
1002 B
Vue
38 lines
1002 B
Vue
<template functional>
|
|
<div class="card-multiple-collaborators__list-wrapper">
|
|
<div class="card-multiple-collaborators__list">
|
|
<div
|
|
v-for="item in props.value"
|
|
:key="item.id"
|
|
class="card-multiple-collaborators__item"
|
|
>
|
|
<template v-if="item.id && item.name">
|
|
<span
|
|
class="field-multiple-collaborators__name background-color--light-gray"
|
|
>{{
|
|
$options.methods.getCollaboratorName(item, parent.$store)
|
|
}}</span
|
|
>
|
|
<div
|
|
v-if="props.value"
|
|
class="field-multiple-collaborators__initials"
|
|
>
|
|
{{
|
|
$options.methods.getCollaboratorNameInitials(item, parent.$store)
|
|
}}
|
|
</div>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import collaboratorName from '@baserow/modules/database/mixins/collaboratorName'
|
|
|
|
export default {
|
|
height: 30,
|
|
mixins: [collaboratorName],
|
|
}
|
|
</script>
|