From 9e849da6f8eca42edfa23c6705509b268c18cd11 Mon Sep 17 00:00:00 2001 From: itsrubberduck Date: Sun, 5 Oct 2025 13:08:05 +0200 Subject: [PATCH] redirect to bridge for live atc --- app/pages/classroom.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/pages/classroom.vue b/app/pages/classroom.vue index 38f12be..82d89bd 100644 --- a/app/pages/classroom.vue +++ b/app/pages/classroom.vue @@ -1645,6 +1645,7 @@ const experiences: ExperienceOption[] = [ description: 'Mission hub & drills', icon: 'mdi-school', to: '/classroom', + target: '_self', matches: path => path.startsWith('/classroom') || path.startsWith('/classroom-introduction') }, { @@ -1652,7 +1653,8 @@ const experiences: ExperienceOption[] = [ label: 'Live ATC', description: 'Live radio with AI controllers', icon: 'mdi-radio-handheld', - to: '/pm', + to: '/bridge', + target: '_blank', matches: path => path.startsWith('/pm') } ] @@ -1666,6 +1668,10 @@ const activeExperience = computed(() => { async function handleExperienceSelect(option: ExperienceOption) { experienceMenu.value = false if (option.matches(route.path)) return + if( option.target === '_blank') { + window.open(option.to, '_blank') + return + } await router.push(option.to) }