Skip to content

Commit eed7b8d

Browse files
committed
disable dragging feature of slide toc
1 parent 1bab84d commit eed7b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/slide-toc.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
</vue-final-modal>
7171
</div>
7272
<ul class="max-h-screen overflow-y-auto">
73-
<draggable v-model="slides" @update="$emit('slides-updated', slides)" item-key="title" v-focus-list>
73+
<draggable :list="slides" @update="$emit('slides-updated', slides)" item-key="" v-focus-list>
7474
<template #item="{ element, index }">
7575
<li
7676
class="toc-slide border-t flex px-2 cursor-pointer hover:bg-gray-300"

0 commit comments

Comments
 (0)