From 5d35da13fe7382574bb05a56c4e9b8e05c772fe6 Mon Sep 17 00:00:00 2001 From: Thomas Arrow Date: Wed, 29 Jul 2026 12:20:20 +0100 Subject: [PATCH] Handle special case of Pilot for Hosting Policy A rather unelegant workaround to handle the case of no currrent hosting policy to redirect people to the pilot. This allows us to change the footer link to be just '/hosting-policy' and have it handled by the HostingPolicyRenderer but still redirect to the pilot component. Added comments to ensure we remove this cruft as soon as the pilot policy is redundant. Bug: T432965 --- src/components/Layout/Foot.vue | 2 +- .../Pages/HostingPolicy/HostingPolicyRenderer.vue | 5 +++++ .../Pages/{HostingPolicy.vue => HostingPolicyPilot.vue} | 1 + src/router/index.js | 6 +++--- 4 files changed, 10 insertions(+), 4 deletions(-) rename src/components/Pages/{HostingPolicy.vue => HostingPolicyPilot.vue} (99%) diff --git a/src/components/Layout/Foot.vue b/src/components/Layout/Foot.vue index d3518768..1070f3a2 100644 --- a/src/components/Layout/Foot.vue +++ b/src/components/Layout/Foot.vue @@ -21,7 +21,7 @@