fix: perf issue with modal
This commit is contained in:
parent
f26c7fcc70
commit
b69516031a
@ -33,19 +33,17 @@
|
|||||||
{{ t('repod', 'Stop') }}
|
{{ t('repod', 'Stop') }}
|
||||||
</NcActionButton>
|
</NcActionButton>
|
||||||
</template>
|
</template>
|
||||||
<template #extra>
|
|
||||||
<NcModal :show="modalEpisode && modalEpisode.guid === episode.guid" @close="modalEpisode = null">
|
|
||||||
<Modal :description="episode.description"
|
|
||||||
:image="episode.image"
|
|
||||||
:link="episode.link"
|
|
||||||
:name="episode.name"
|
|
||||||
:size="episode.size"
|
|
||||||
:title="episode.title"
|
|
||||||
:url="episode.url" />
|
|
||||||
</NcModal>
|
|
||||||
</template>
|
|
||||||
</NcListItem>
|
</NcListItem>
|
||||||
</ul>
|
</ul>
|
||||||
|
<NcModal v-if="modalEpisode" @close="modalEpisode = null">
|
||||||
|
<Modal :description="modalEpisode.description"
|
||||||
|
:image="modalEpisode.image"
|
||||||
|
:link="modalEpisode.link"
|
||||||
|
:name="modalEpisode.name"
|
||||||
|
:size="modalEpisode.size"
|
||||||
|
:title="modalEpisode.title"
|
||||||
|
:url="modalEpisode.url" />
|
||||||
|
</NcModal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<router-link :to="hash">
|
<router-link :to="hash">
|
||||||
<i>{{ player.episode.title }}</i>
|
<i>{{ player.episode.title }}</i>
|
||||||
</router-link>
|
</router-link>
|
||||||
<NcModal :show="modal" @close="modal = false">
|
<NcModal v-if="modal" @close="modal = false">
|
||||||
<Modal :description="player.episode.description"
|
<Modal :description="player.episode.description"
|
||||||
:image="player.episode.image"
|
:image="player.episode.image"
|
||||||
:link="player.episode.link"
|
:link="player.episode.link"
|
||||||
|
Loading…
Reference in New Issue
Block a user