summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-05-04 15:21:51 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-05-04 15:21:51 +0900
commitf74e0d91235237a6f19056558b801878f30ffeb1 (patch)
treeb98ea7b0ff461b559aca430d02ea254e6ff62827 /src
parentMerge branch 'develop' (diff)
parent11.10.1 (diff)
downloadmisskey-f74e0d91235237a6f19056558b801878f30ffeb1.tar.gz
misskey-f74e0d91235237a6f19056558b801878f30ffeb1.tar.bz2
misskey-f74e0d91235237a6f19056558b801878f30ffeb1.zip
Merge branch 'develop'
Diffstat (limited to 'src')
-rw-r--r--src/client/app/common/views/components/page-editor/page-editor.blocks.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/page-editor/page-editor.blocks.vue b/src/client/app/common/views/components/page-editor/page-editor.blocks.vue
index 266b6d6b21..379c960ee1 100644
--- a/src/client/app/common/views/components/page-editor/page-editor.blocks.vue
+++ b/src/client/app/common/views/components/page-editor/page-editor.blocks.vue
@@ -1,6 +1,6 @@
<template>
<x-draggable tag="div" :list="blocks" handle=".drag-handle" :group="{ name: 'blocks' }" animation="150" swap-threshold="0.5">
- <component v-for="block in blocks" :is="'x-' + block.type" :value="block" @input="updateItem" @remove="removeItem" :key="block.id" :ai-script="aiScript"/>
+ <component v-for="block in blocks" :is="'x-' + block.type" :value="block" @input="updateItem" @remove="() => removeItem(block)" :key="block.id" :ai-script="aiScript"/>
</x-draggable>
</template>