Skip to content

Commit

Permalink
Add tags and changed display of speakers (#218)
Browse files Browse the repository at this point in the history
* schedule/session: Add tags and changed display of speakers

* move utils into schedule component
  • Loading branch information
odkhang authored Aug 12, 2024
1 parent 64f619f commit a44d422
Show file tree
Hide file tree
Showing 7 changed files with 968 additions and 4 deletions.
3 changes: 2 additions & 1 deletion webapp/src/store/schedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ export default {
end: moment.tz(session.end, rootState.userTimezone),
speakers: session.speakers?.map(s => getters.speakersLookup[s]),
track: getters.tracksLookup[session.track],
room: getters.roomsLookup[session.room]
room: getters.roomsLookup[session.room],
tags: session.tags
})
}
sessions.sort((a, b) => (
Expand Down
3 changes: 2 additions & 1 deletion webapp/src/views/schedule/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
</template>
<script>
import { mapState, mapGetters } from 'vuex'
import { LinearSchedule, GridSchedule} from '@pretalx/schedule'
import LinearSchedule from 'views/schedule/schedule-components/LinearSchedule'
import GridSchedule from 'views/schedule/schedule-components/GridSchedule'
import moment from 'lib/timetravelMoment'
import TimezoneChanger from 'components/TimezoneChanger'
import scheduleProvidesMixin from 'components/mixins/schedule-provides'
Expand Down
Loading

0 comments on commit a44d422

Please sign in to comment.