fix(front):avoid loading track-modal if showTrackModal is false
This commit is contained in:
parent
da83ffb675
commit
2029c863d6
|
@ -147,7 +147,7 @@ const actionsButtonLabel = computed(() => t('components.audio.track.MobileRow.bu
|
|||
<i class="ellipsis large vertical icon" />
|
||||
</div>
|
||||
<track-modal
|
||||
v-model:show="showTrackModal"
|
||||
v-if="showTrackModal"
|
||||
:track="track"
|
||||
:index="index"
|
||||
:is-artist="isArtist"
|
||||
|
|
|
@ -245,20 +245,19 @@ const updatePage = (page: number) => {
|
|||
<Loader v-if="isLoading" />
|
||||
|
||||
<!-- For each item, build a row -->
|
||||
<!--
|
||||
|
||||
<track-mobile-row
|
||||
v-for="(track, index) in allTracks"
|
||||
:key="track.id"
|
||||
:track="track"
|
||||
:index="index"
|
||||
:tracks="allTracks"
|
||||
:show-position="showPosition"
|
||||
:show-art="showArt"
|
||||
:show-duration="showDuration"
|
||||
:is-artist="isArtist"
|
||||
:is-album="isAlbum"
|
||||
:is-podcast="isPodcast"
|
||||
/> -->
|
||||
/>
|
||||
<Pagination
|
||||
v-if="paginateResults"
|
||||
:pages="paginateBy"
|
||||
|
|
Loading…
Reference in New Issue