From 61ed9e3812446ec31e0922ab76c0769f6350601b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Lamy?= Date: Tue, 19 Sep 2023 15:11:19 -0400 Subject: [PATCH] fix video medals. --- .../app/owlcms/nui/displays/VideoNavigationContent.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/owlcms/src/main/java/app/owlcms/nui/displays/VideoNavigationContent.java b/owlcms/src/main/java/app/owlcms/nui/displays/VideoNavigationContent.java index 59b185793..58ddd2b34 100644 --- a/owlcms/src/main/java/app/owlcms/nui/displays/VideoNavigationContent.java +++ b/owlcms/src/main/java/app/owlcms/nui/displays/VideoNavigationContent.java @@ -32,8 +32,6 @@ import app.owlcms.data.competition.Competition; import app.owlcms.data.group.Group; import app.owlcms.data.group.GroupRepository; -import app.owlcms.displays.scoreboard.ResultsMedals; -import app.owlcms.displays.scoreboard.ResultsRankings; import app.owlcms.displays.video.StreamingEventMonitor; import app.owlcms.fieldofplay.FieldOfPlay; import app.owlcms.i18n.Translator; @@ -44,8 +42,10 @@ import app.owlcms.nui.displays.scoreboards.CurrentAthletePage; import app.owlcms.nui.displays.scoreboards.ResultsBoardPage; import app.owlcms.nui.displays.scoreboards.ResultsLeadersRanksPage; +import app.owlcms.nui.displays.scoreboards.ResultsMedalsPage; import app.owlcms.nui.displays.scoreboards.ResultsNoLeadersPage; import app.owlcms.nui.displays.scoreboards.ResultsRankingOrderPage; +import app.owlcms.nui.displays.scoreboards.ResultsRankingsPage; import app.owlcms.nui.home.HomeNavigationContent; import app.owlcms.nui.shared.BaseNavigationContent; import app.owlcms.nui.shared.NavigationPage; @@ -137,11 +137,11 @@ public VideoNavigationContent() { Button medals = new Button(getTranslation("CeremonyType.MEDALS")); Button rankings = new Button(getTranslation("Scoreboard.RANKING")); medals.addClickListener((e) -> { - Class class1 = ResultsMedals.class; + Class class1 = ResultsMedalsPage.class; openClass(class1); }); rankings.addClickListener((e) -> { - Class class1 = ResultsRankings.class; + Class class1 = ResultsRankingsPage.class; openClass(class1); }); VerticalLayout intro1a = new VerticalLayout();