1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-03 20:55:33 +00:00
bramw_baserow/web-frontend/modules/database/components/view/grid/fields/FunctionalGridViewFieldSingleSelect.vue

13 lines
370 B
Vue

<template functional>
<div ref="cell" class="grid-view__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>