JacobFitzp/nova-canvas

View on GitHub
resources/js/components/IndexField.vue

Summary

Maintainability
Test Coverage
<template>
    <span>{{ field.value }}</span>
</template>

<script>
export default {
    props: ['resourceName', 'field'],

    computed: {
        fieldValue() {
            return this.field.displayedAs || this.field.value
        },
    }
}
</script>