mirror of
https://gitlab.com/bramw/baserow.git
synced 2024-11-24 16:36:46 +00:00
36 lines
765 B
Vue
36 lines
765 B
Vue
<template>
|
|
<div class="row-history-entry__field-content">
|
|
<div v-if="entry.before[fieldIdentifier]">
|
|
<div class="row-history-entry__diff row-history-entry__diff--removed">
|
|
{{ entry.before[fieldIdentifier] }}
|
|
</div>
|
|
</div>
|
|
<div v-if="entry.after[fieldIdentifier]">
|
|
<div class="row-history-entry__diff row-history-entry__diff--added">
|
|
{{ entry.after[fieldIdentifier] }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'RowHistoryFieldText',
|
|
props: {
|
|
entry: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
fieldIdentifier: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
field: {
|
|
type: Object,
|
|
required: false,
|
|
default: null,
|
|
},
|
|
},
|
|
}
|
|
</script>
|