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>
34 lines
648 B
Vue
34 lines
648 B
Vue
<template>
|
|
<div class="grid-view__cell">
|
|
<div class="grid-field-rating">
|
|
<component
|
|
:is="$options.components.Rating"
|
|
:read-only="true"
|
|
:rating-style="field.style"
|
|
:color="field.color"
|
|
:value="value"
|
|
:max-value="field.max_value"
|
|
></component>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import Rating from '@baserow/modules/database/components/Rating'
|
|
|
|
export default {
|
|
name: 'FunctionalGridViewFieldRating',
|
|
components: { Rating },
|
|
props: {
|
|
field: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
value: {
|
|
type: Number,
|
|
default: 0,
|
|
},
|
|
},
|
|
}
|
|
</script>
|