fermeture du menu des fichiers quand on clique sur une option

This commit is contained in:
Alexandre_BRAVO 2024-12-02 14:11:04 +01:00
parent 9a29fa799c
commit ed5f2fd648

View File

@ -126,13 +126,13 @@
<!-- Options --> <!-- Options -->
<div class="w-1/12 px-4 py-2" @click.stop> <div class="w-1/12 px-4 py-2" @click.stop>
<NcActions> <NcActions>
<NcActionButton @click="deleteElem(file)"> <NcActionButton @click="deleteElem(file)" :closeAfterClick="true">
<template #icon> <template #icon>
<Delete :size="20" /> <Delete :size="20" />
</template> </template>
{{ translate('delete') }} {{ translate('delete') }}
</NcActionButton> </NcActionButton>
<NcActionButton @click="editElem(file)"> <NcActionButton @click="editElem(file)" :closeAfterClick="true">
<template #icon> <template #icon>
<Pencil :size="20" /> <Pencil :size="20" />
</template> </template>