From dde15c721e7fea4c3eb7e25067ac9beb5229ebce Mon Sep 17 00:00:00 2001 From: Noam Gaash Date: Tue, 16 Jan 2024 11:50:26 +0200 Subject: [PATCH] chore: hide bug report form (#388) --- src/routes/index.tsx | 33 ++++++++++++++++++++++++++------- tests/menu.spec.ts | 1 - 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 500817cb..9c24f8b6 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -26,6 +26,7 @@ import { } from '@ant-design/icons' import { MainRoute } from './MainRoute' import { ErrorPage } from 'src/pages/ErrorPage' +import { Spin } from 'antd' export const PAGES = [ { @@ -73,6 +74,21 @@ export const PAGES = [ icon: , element: , }, + { + label: 'donate_title', + path: 'https://www.jgive.com/new/he/ils/donation-targets/3268#donation-modal', + icon: , + element: null, + }, +] + +const HIDDEN_PAGES = [ + { + label: 'data-research', + path: '/data-research', + icon: , + element: , + }, { label: 'report_a_bug_title', path: 'report-a-bug', @@ -80,15 +96,20 @@ export const PAGES = [ element: , }, { - label: 'donate_title', - path: 'https://www.jgive.com/new/he/ils/donation-targets/3268#donation-modal', - icon: , - element: null, + label: 'release', + path: '/release', + icon: , + element: ( + <> + +