From 25746113b403e0ccb477968348ef6c5495609ff9 Mon Sep 17 00:00:00 2001 From: Dominik Lander Date: Wed, 19 Jun 2024 11:09:50 +0100 Subject: [PATCH 1/2] Fix Euro 2024 subnav item --- common/app/navigation/NavLinks.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/app/navigation/NavLinks.scala b/common/app/navigation/NavLinks.scala index ea61a3288c19..5fd28e38e43c 100644 --- a/common/app/navigation/NavLinks.scala +++ b/common/app/navigation/NavLinks.scala @@ -109,8 +109,7 @@ object NavLinks { val letters = NavLink("Letters", "/tone/letters") /* SPORT */ - - private val euro2024 = NavLink("Euro 2024", "/football/euro-2024", Some("football/euro-2024")) + private val euro2024 = NavLink("Euro 2024", "/football/euro-2024") private val footballScores = NavLink("Live scores", "/football/live", Some("football/live")) private val footballTables = NavLink("Tables", "/football/tables", Some("football/tables")) private val footballFixtures = NavLink("Fixtures", "/football/fixtures", Some("football/fixtures")) From 2e29e1781dab166e29df3f8e60f3e8ae01821748 Mon Sep 17 00:00:00 2001 From: Dominik Lander Date: Wed, 19 Jun 2024 12:00:20 +0100 Subject: [PATCH 2/2] update reference-navigation file --- common/test/resources/reference-navigation.json | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/common/test/resources/reference-navigation.json b/common/test/resources/reference-navigation.json index aed9348ffe09..5e6f62ab1cc8 100644 --- a/common/test/resources/reference-navigation.json +++ b/common/test/resources/reference-navigation.json @@ -170,7 +170,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] }, @@ -454,7 +453,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] }, @@ -465,7 +463,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] }, @@ -1153,7 +1150,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] }, @@ -1308,7 +1304,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] }, @@ -1319,7 +1314,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] }, @@ -2040,7 +2034,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] }, @@ -2051,7 +2044,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] }, @@ -2672,7 +2664,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] }, @@ -2864,7 +2855,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] }, @@ -2875,7 +2865,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] }, @@ -3685,7 +3674,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] }, @@ -3877,7 +3865,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] }, @@ -3888,7 +3875,6 @@ { "title": "Euro 2024", "url": "/football/euro-2024", - "longTitle": "football/euro-2024", "children": [], "classList": [] },