From 121a298e590b2de8f6ac78eefd2a753bb656fc18 Mon Sep 17 00:00:00 2001 From: GouadriaHanen <49310007+GouadriaHanen@users.noreply.github.com> Date: Thu, 28 Mar 2024 13:13:45 +0100 Subject: [PATCH] fix: fix suggesting site in select protected Resource drawer - EXO-70336 (#69) Before this change, a log error is displayed when retrieving sites because some group sites have null navigation issues After this change, Empty navigation sites were excluded since we didn't need the site without navigations --- .../components/ProtectedResouceDrawer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapps/src/main/webapp/vue-apps/multi-factor-authentication/components/ProtectedResouceDrawer.vue b/webapps/src/main/webapp/vue-apps/multi-factor-authentication/components/ProtectedResouceDrawer.vue index 758562e1..c7661df0 100644 --- a/webapps/src/main/webapp/vue-apps/multi-factor-authentication/components/ProtectedResouceDrawer.vue +++ b/webapps/src/main/webapp/vue-apps/multi-factor-authentication/components/ProtectedResouceDrawer.vue @@ -140,7 +140,7 @@ export default { } }, getNavigations() { - return this.$siteService.getSites(null, 'USER', 'global').then(data => { + return this.$siteService.getSites(null, 'USER', 'global', true).then(data => { const navs = data; navs.forEach(nav => { nav.label = nav.displayName ;