Skip to content

Commit

Permalink
feat: unhide eig
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminDNUM committed Sep 10, 2024
1 parent 538a291 commit 824594f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 42 deletions.
3 changes: 1 addition & 2 deletions packages/backend/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ app.use(`/hebergement`, routes.hebergement);
app.use(`/siret`, routes.siret);
app.use(`/documents`, routes.documents);
app.use(`/geo`, routes.geo);
// TODO(eig): unhide when ok
//app.use(`/eig`, routes.eig);
app.use(`/eig`, routes.eig);
app.use(`/message`, routes.message);

if (config.sentry.environment !== "production") {
Expand Down
5 changes: 2 additions & 3 deletions packages/frontend-bo/src/composables/useMenuNavItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,14 @@ export const useMenuNavItems = () => {
},
]
: []),
// TODO(eig): unhide when ok
/*...(roles.includes("eig")
...(roles.includes("eig")
? [
{
text: "EIG",
to: "/eig",
},
]
: []),*/
: []),
];
});

Expand Down
13 changes: 0 additions & 13 deletions packages/frontend-bo/src/middleware/redirect-eig.global.js

This file was deleted.

5 changes: 1 addition & 4 deletions packages/frontend-bo/src/pages/sejours/[declarationId].vue
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,7 @@ const tabTitles = computed(() => [
title: `Messagerie ${unreadMessages.value}`,
icon: `${unreadMessages.value ? "ri-feedback-line" : ""}`,
},
// TODO(eig): unhide when ok
/*
{ title: "EIG" },
*/
{ title: "EIG" },
]);
const modalComplement = reactive({
Expand Down
5 changes: 2 additions & 3 deletions packages/frontend-usagers/src/composables/useMenuNavItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ export const useMenuNavItems = () => {
text: "Mes hébergements",
to: "/hebergements/liste",
},
// TODO(eig): unhide when ok
/*{
{
title: "EIG",
links: [
{
Expand All @@ -56,7 +55,7 @@ export const useMenuNavItems = () => {
to: "/eig",
},
],
},*/
},
];
});
};
13 changes: 0 additions & 13 deletions packages/frontend-usagers/src/middleware/redirect-eig.global.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,7 @@ const tabTitles = computed(() => [
},
]
: []),
// TODO(eig): unhide when ok
/*
...(sejourId.value ? [{ title: "EIG" }] : []),
*/
...(sejourId.value ? [{ title: "EIG" }] : []),
]);
const sommaireOptions = demandeSejourMenus
Expand Down

0 comments on commit 824594f

Please sign in to comment.