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