diff --git a/changelog/11283.txt b/changelog/11283.txt new file mode 100644 index 000000000..14b33bff8 --- /dev/null +++ b/changelog/11283.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: Fix footer URL linking to the correct version changelog. +``` diff --git a/ui/app/components/auth-jwt.js b/ui/app/components/auth-jwt.js index d036fc9f3..0dd15a90e 100644 --- a/ui/app/components/auth-jwt.js +++ b/ui/app/components/auth-jwt.js @@ -16,6 +16,7 @@ export { ERROR_WINDOW_CLOSED, ERROR_MISSING_PARAMS, ERROR_JWT_LOGIN }; export default Component.extend({ store: service(), + featureFlagService: service('featureFlag'), selectedAuthPath: null, selectedAuthType: null, roleName: null, @@ -131,7 +132,7 @@ export default Component.extend({ // The namespace can be either be passed as a query paramter, or be embedded // in the state param in the format `,ns=`. So if // `namespace` is empty, check for namespace in state as well. - if (namespace === '') { + if (namespace === '' || this.featureFlagService.managedNamespaceRoot) { let i = state.indexOf(',ns='); if (i >= 0) { // ",ns=" is 4 characters