mirror of
https://gitlab.com/bramw/baserow.git
synced 2024-11-25 00:46:46 +00:00
30 lines
610 B
Vue
30 lines
610 B
Vue
<template functional>
|
|
<div
|
|
class="grid-view__cell"
|
|
:class="{
|
|
...(data.staticClass && {
|
|
[data.staticClass]: true,
|
|
}),
|
|
}"
|
|
>
|
|
<div class="grid-field-rating">
|
|
<component
|
|
:is="$options.components.Rating"
|
|
:read-only="true"
|
|
:rating-style="props.field.style"
|
|
:color="props.field.color"
|
|
:value="props.value"
|
|
:max-value="props.field.max_value"
|
|
></component>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import Rating from '@baserow/modules/database/components/Rating'
|
|
|
|
export default {
|
|
components: { Rating },
|
|
}
|
|
</script>
|