mirror of
https://github.com/baserow/baserow.git
synced 2026-12-04 16:28:31 +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>
28 lines
540 B
Vue
28 lines
540 B
Vue
<template>
|
|
<component :is="component" v-bind="forwarded" class="active" />
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'GridViewFieldFormula',
|
|
inheritAttrs: false,
|
|
props: {
|
|
field: { type: Object, required: true },
|
|
},
|
|
computed: {
|
|
forwarded() {
|
|
return {
|
|
...this.$attrs,
|
|
field: this.field,
|
|
readOnly: true,
|
|
}
|
|
},
|
|
component() {
|
|
return this.$registry
|
|
.get('formula_type', this.field.formula_type)
|
|
.getGridViewFieldComponent(this.field)
|
|
},
|
|
},
|
|
}
|
|
</script>
|