Fix saves manager displaying "default body" while closing

This commit is contained in:
thepaperpilot 2022-03-02 20:16:59 -06:00
parent 5e58da0de3
commit 0f498ab2f7

View file

@ -3,11 +3,11 @@
<template v-slot:header> <template v-slot:header>
<h2>Saves Manager</h2> <h2>Saves Manager</h2>
</template> </template>
<template v-slot:body> <template #body="{ shown }">
<Draggable <Draggable
:list="settings.saves" :list="settings.saves"
handle=".handle" handle=".handle"
v-if="unref(modal?.isOpen)" v-if="shown"
:itemKey="(save: string) => save" :itemKey="(save: string) => save"
> >
<template #item="{ element }"> <template #item="{ element }">