mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 00:08:25 +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>
26 lines
503 B
Vue
26 lines
503 B
Vue
<template>
|
|
<div ref="cell" class="grid-view__cell grid-field-single-select__cell">
|
|
<div class="grid-field-single-select">
|
|
<div
|
|
v-if="value"
|
|
class="grid-field-single-select__option"
|
|
:class="'background-color--' + value.color"
|
|
>
|
|
{{ value.value }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'FunctionalGridViewFieldSingleSelect',
|
|
props: {
|
|
value: {
|
|
type: Object,
|
|
default: null,
|
|
},
|
|
},
|
|
}
|
|
</script>
|