diff --git a/frontend/packages/data-portal/app/components/Deposition/MethodLinks/common.tsx b/frontend/packages/data-portal/app/components/Deposition/MethodLinks/common.tsx index 01582d509..0996c9fef 100644 --- a/frontend/packages/data-portal/app/components/Deposition/MethodLinks/common.tsx +++ b/frontend/packages/data-portal/app/components/Deposition/MethodLinks/common.tsx @@ -18,7 +18,7 @@ export interface MethodLinkProps { const METHOD_TYPE_TO_I18N_KEY: { [key in MethodLinkType]: I18nKeys } = { source_code: 'sourceCode', - model_weights: 'modelWeights', + models_weights: 'modelWeights', website: 'website', documentation: 'documentation', other: 'other', @@ -28,7 +28,7 @@ export const ICON_MAP: { [key in MethodLinkType]: ReactNode } = { source_code: ( ), - model_weights: ( + models_weights: ( ), website: ( diff --git a/frontend/packages/data-portal/app/components/Deposition/MethodLinks/type.ts b/frontend/packages/data-portal/app/components/Deposition/MethodLinks/type.ts index 049e7886f..c070bed70 100644 --- a/frontend/packages/data-portal/app/components/Deposition/MethodLinks/type.ts +++ b/frontend/packages/data-portal/app/components/Deposition/MethodLinks/type.ts @@ -3,7 +3,7 @@ import { MethodType } from 'app/constants/methodTypes' // note: below is also used for ordering in lists export const METHOD_LINK_TYPES = [ 'source_code', - 'model_weights', + 'models_weights', 'website', 'documentation', 'other',