summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-05-04 15:14:02 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-05-04 15:14:02 +0900
commitd6131c0b09f11d1aabbf422cbc8b7debe95c7ad4 (patch)
tree11f942f311bd91c6c38bf974e6a8bb054c1535a6 /src/client
parentUse node 12 (diff)
downloadsharkey-d6131c0b09f11d1aabbf422cbc8b7debe95c7ad4.tar.gz
sharkey-d6131c0b09f11d1aabbf422cbc8b7debe95c7ad4.tar.bz2
sharkey-d6131c0b09f11d1aabbf422cbc8b7debe95c7ad4.zip
MisskeyPagesでページブロックを削除できなくなっていた問題を修正
Diffstat (limited to 'src/client')
-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>