viewer: hide slideshow if single item
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/767/head
parent
123ce4dfb3
commit
dfc7f76c10
|
@ -119,7 +119,12 @@
|
|||
<OpenInNewIcon :size="24" />
|
||||
</template>
|
||||
</NcActionButton>
|
||||
<NcActionButton :aria-label="t('memories', 'Slideshow')" @click="startSlideshow" :close-after-click="true">
|
||||
<NcActionButton
|
||||
:aria-label="t('memories', 'Slideshow')"
|
||||
v-if="globalCount > 1"
|
||||
@click="startSlideshow"
|
||||
:close-after-click="true"
|
||||
>
|
||||
{{ t('memories', 'Slideshow') }}
|
||||
<template #icon>
|
||||
<SlideshowIcon :size="24" />
|
||||
|
|
Loading…
Reference in New Issue