diff --git a/front/src/Connexion/World.ts b/front/src/Connexion/World.ts index aee4172c..773ddb6a 100644 --- a/front/src/Connexion/World.ts +++ b/front/src/Connexion/World.ts @@ -1,4 +1,4 @@ export interface World { roomId: string; player: string[]; -} \ No newline at end of file +} diff --git a/front/src/Stores/MenuStore.ts b/front/src/Stores/MenuStore.ts index 135189bc..d44ed8e2 100644 --- a/front/src/Stores/MenuStore.ts +++ b/front/src/Stores/MenuStore.ts @@ -143,6 +143,7 @@ export const contactPageStore = writable(CONTACT_URL); export function checkSubMenuToShow() { subMenusStore.removeTranslatedMenu(SubMenusInterface.globalMessages); subMenusStore.removeTranslatedMenu(SubMenusInterface.contact); + subMenusStore.removeTranslatedMenu(SubMenusInterface.invite); if (get(userIsAdminStore)) { subMenusStore.addTranslatedMenu(SubMenusInterface.globalMessages); @@ -151,8 +152,6 @@ export function checkSubMenuToShow() { if (get(contactPageStore) !== undefined) { subMenusStore.addTranslatedMenu(SubMenusInterface.contact); } - - subMenusStore.removeMenu(SubMenusInterface.invite); } export const customMenuIframe = new Map(); diff --git a/front/src/i18n/en-US/menu.ts b/front/src/i18n/en-US/menu.ts index 239b0ac1..9ea9ebb6 100644 --- a/front/src/i18n/en-US/menu.ts +++ b/front/src/i18n/en-US/menu.ts @@ -113,6 +113,7 @@ const menu: BaseTranslation = { }, sub: { profile: "Profile", + worlds: "Worlds", settings: "Settings", invite: "Invite", credit: "Credit", diff --git a/front/src/i18n/fr-FR/menu.ts b/front/src/i18n/fr-FR/menu.ts index 2c0efeba..ac3508d7 100644 --- a/front/src/i18n/fr-FR/menu.ts +++ b/front/src/i18n/fr-FR/menu.ts @@ -113,6 +113,7 @@ const menu: NonNullable = { }, sub: { profile: "Profile", + worlds: "Worlds", settings: "Paramètres", invite: "Inviter", credit: "Crédits",