1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-25 00:46:46 +00:00
bramw_baserow/web-frontend/modules/database/components/view/grid/fields/FunctionalGridViewFieldSingleSelect.vue

18 lines
416 B
Vue

<template functional>
<div
ref="cell"
class="grid-view__cell grid-field-single-select__cell"
:class="data.staticClass || ''"
>
<div class="grid-field-single-select">
<div
v-if="props.value"
class="grid-field-single-select__option"
:class="'background-color--' + props.value.color"
>
{{ props.value.value }}
</div>
</div>
</div>
</template>