diff --git a/src/navigation/components/Routes.js b/src/navigation/components/Routes.js index 478fadb20b..bd0637d573 100644 --- a/src/navigation/components/Routes.js +++ b/src/navigation/components/Routes.js @@ -108,17 +108,13 @@ const paths = [ showBreadcrumbs: true, breadcrumbsLabel: 'group.breadcrumbs_visualization', }), - path( - '/groups/:groupSlug/shared-resource/download/:shareUuid', - SharedResourceDownload, - { - optionalAuth: { - enabled: true, - topMessage: - 'sharedData.shared_resource_download_optional_auth_top_message', - }, - } - ), + path('/groups/:groupSlug/download/:shareUuid', SharedResourceDownload, { + optionalAuth: { + enabled: true, + topMessage: + 'sharedData.shared_resource_download_optional_auth_top_message', + }, + }), path('/landscapes/map', LandscapeMapEmbed, { optionalAuth: { enabled: true, diff --git a/src/sharedData/sharedDataConstants.js b/src/sharedData/sharedDataConstants.js index 3a39682306..832bd4081f 100644 --- a/src/sharedData/sharedDataConstants.js +++ b/src/sharedData/sharedDataConstants.js @@ -17,11 +17,11 @@ export const MAX_DESCRIPTION_CHARACTERS = 200; -export const SHARE_ACCESS_NO = 'NO'; +export const SHARE_ACCESS_NONE = 'NO'; export const SHARE_ACCESS_ALL = 'ALL'; export const SHARE_ACCESS_TARGET_MEMBERS = 'TARGET_MEMBERS'; export const SHARE_ACCESS_TYPES = [ - SHARE_ACCESS_NO, + SHARE_ACCESS_NONE, SHARE_ACCESS_ALL, SHARE_ACCESS_TARGET_MEMBERS, ];