Skip to content

Commit

Permalink
fix: dont show footer for new routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Aug 1, 2023
1 parent f6448b7 commit be13e5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2023-07-31T08:48:00.070Z\n"
"PO-Revision-Date: 2023-07-31T08:48:00.070Z\n"
"POT-Creation-Date: 2023-07-31T11:36:19.094Z\n"
"PO-Revision-Date: 2023-07-31T11:36:19.094Z\n"

msgid "schemas"
msgstr "schemas"
Expand Down Expand Up @@ -623,12 +623,6 @@ msgstr "Domain (required)"
msgid "A data element can either be aggregated or tracked data."
msgstr "A data element can either be aggregated or tracked data."

msgid "aggregate"
msgstr "aggregate"

msgid "tracker"
msgstr "tracker"

msgid "Metadata management"
msgstr "Metadata management"

Expand Down
2 changes: 1 addition & 1 deletion src/app/routes/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const schemaSectionRoutes = Object.values(SCHEMA_SECTIONS).map((section) => (
handle={{ section }}
>
<Route index lazy={createSectionLazyRouteFunction(section, 'List')} />
<Route handle={{ hideSidebar: true, showFooter: true }}>
<Route handle={{ hideSidebar: true }}>
{!sectionsNoNewRoute.has(section) && (
<Route
path={routePaths.sectionNew}
Expand Down

0 comments on commit be13e5d

Please sign in to comment.