Skip to content

Commit

Permalink
fix open broadcast game based on URL shape
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Aug 4, 2024
1 parent c5826ca commit f6a3aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/analyse/src/study/relay/relayCtrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class RelayCtrl {
private readonly federations: () => Federations | undefined,
chapterSelect: ChapterSelect,
) {
this.tourShow = toggle((location.pathname.split('/broadcast/')[1].match(/\//g) || []).length < 5);
this.tourShow = toggle((location.pathname.split('/broadcast/')[1].match(/\//g) || []).length < 3);
const locationTab = location.hash.replace(/^#/, '') as RelayTab;
const initialTab = relayTabs.includes(locationTab)
? locationTab
Expand Down

0 comments on commit f6a3aee

Please sign in to comment.