Skip to content

Commit 631f181

Browse files
committed
#74 avoid creating spearkers' talk-card in the DOM in compact mode (to speed up rendering)
1 parent 7101e7a commit 631f181

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mobile/src/views/event/SpeakersDirectoryPage.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
:confDescriptor="confDescriptor" :speaker="speaker" :key="speaker.id.value"
1212
:isDetailed="currentMode === 'detailed'">
1313
<template #content="{}">
14-
<ion-list class="talkResumeList"
15-
:style="{ display: currentMode === 'detailed' ? 'block':'none' }">
14+
<ion-list class="talkResumeList" v-if="currentMode === 'detailed'">
1615
<talk-card v-for="talk in speaker.talks" :key="talk.id.value"
1716
:talk="{ ...talk, speakers: [speaker, ...talk.otherSpeakers] }"
1817
:room-id="talk.allocation?.room?.id" :talk-stats="talkStatsRefByTalkId.get(talk.id.value)"

0 commit comments

Comments
 (0)