Files
baserow/web-frontend/modules/database/components/card/RowCardFieldRating.vue
716d43a9a8 Nuxt 3 migration (#4342)
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>
2026-01-22 10:27:19 +01:00

32 lines
555 B
Vue

<template>
<component
:is="$options.components.Rating"
:read-only="true"
:rating-style="field.style"
:color="field.color"
:value="value"
:max-value="field.max_value"
class="card-rating"
></component>
</template>
<script>
import Rating from '@baserow/modules/database/components/Rating'
export default {
height: 18,
name: 'RowCardFieldRating',
components: { Rating },
props: {
field: {
type: Object,
required: true,
},
value: {
type: Number,
default: 0,
},
},
}
</script>