mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-24 23:26:35 +09:00
MisskeyPagesでページブロックを削除できなくなっていた問題を修正
This commit is contained in:
parent
e62c810b7c
commit
d6131c0b09
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user