@@ -19,15 +19,16 @@ const { LL } = typesafeI18n()
1919
2020const tabs = computed (() => {
2121 const confDescriptor = toValue (confDescriptorRef );
22- return [{
22+ return ([] as Array <{id: string , label: string , url: string , icon: string , selectedIcon: string }>)
23+ .concat (confDescriptor ?.features .skipShowingSchedule === true ? []: [{
2324 id: ' schedule' , url: ` ${getResolvedEventRootPathFromSpacedEventIdRef (spacedEventIdRef )}/schedule ` , label: LL .value .Schedule (),
2425 icon: ' /assets/icons/line/calendar-line.svg' ,
2526 selectedIcon: ' /assets/icons/solid/calendar.svg' ,
26- }, {
27+ }]). concat ([ {
2728 id: ' speakers' , url: ` ${getResolvedEventRootPathFromSpacedEventIdRef (spacedEventIdRef )}/speakers ` , label: LL .value .Speakers (),
2829 icon: ' /assets/icons/line/megaphone-line.svg' ,
2930 selectedIcon: ' /assets/icons/solid/megaphone.svg' ,
30- }].concat (confDescriptor && areFeedbacksEnabled (confDescriptor ) ? [{
31+ }]) .concat (confDescriptor && areFeedbacksEnabled (confDescriptor ) ? [{
3132 id: ' feedbacks' , url: ` ${getResolvedEventRootPathFromSpacedEventIdRef (spacedEventIdRef )}/feedbacks ` , label: LL .value .Feedbacks (),
3233 icon: ' /assets/icons/line/comments-2-line.svg' ,
3334 selectedIcon: ' /assets/icons/solid/comments-2.svg' ,
0 commit comments