diff --git a/web/src/components/blocks/BlockAdd.vue b/web/src/components/blocks/BlockAdd.vue index 0090a8df..6720b6da 100644 --- a/web/src/components/blocks/BlockAdd.vue +++ b/web/src/components/blocks/BlockAdd.vue @@ -69,50 +69,38 @@ addBlockText() { this.add({ type: 'text', - data: { - title: '', - text: '', - } + title: '', + text: '', }) }, addBlockImage() { this.add({ type: 'image', - data: { - title: '', - image_id: null, - image_url: null, - } + title: '', + img: {}, }) }, addBlockImageText() { this.add({ type: 'image-text', - data: { - title: '', - text: '', - image_id: null, - image_url: null, - } + title: '', + img: {}, + text: '', }) }, addBlockImages() { this.add({ type: 'images', - data: { - title: '', - text: '', - images: [], - } + title: '', + text: '', + gallery_images: [], }) }, addBlockVideo() { this.add({ type: 'video', - data: { - title: '', - video_url: '', - } + title: '', + video_url: '', }) }, }