Skip to content

Commit

Permalink
fix: id prop of the content elements
Browse files Browse the repository at this point in the history
  • Loading branch information
gdulamat authored and mercs600 committed Dec 16, 2020
1 parent ec8c9ae commit be6aa36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/templates/components/content/CeDynamic.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export default {
* Content elements data props
*/
data: {
type: [Object, Array],
default: () => {}
type: Object,
required: true
},
/**
* type of content element
Expand Down Expand Up @@ -49,7 +49,7 @@ export default {
return createElement(elementTag, {
props: {
...{
id: this.data.uid,
id: this.data.id,
type: this.data.type,
appearance: this.data.appearance,
index: this.index
Expand Down

0 comments on commit be6aa36

Please sign in to comment.