Skip to content

Commit

Permalink
feat(sandbox): préfixe "sandbox." ajouté automatiquement pour les mét…
Browse files Browse the repository at this point in the history
…adonnées dans le bac à sable bis #436
  • Loading branch information
ocruze committed Sep 2, 2024
1 parent 66e9085 commit de6d315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/entrepot/pages/service/default-values.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const getMetadataFormDefaultValues = (metadata?: Metadata): MetadataFormValuesTy
free_keywords: metadata?.csw_metadata?.free_keywords ?? [],
public_name: metadata?.csw_metadata?.title,
description: metadata?.csw_metadata?.abstract,
identifier: metadata?.csw_metadata?.file_identifier,
identifier: metadata?.csw_metadata?.file_identifier?.replaceAll("sandbox.", ""),
charset: metadata?.csw_metadata?.charset ?? DEFAULT_CHARSET,
resolution: metadata?.csw_metadata?.resolution ?? "",
frequency_code: metadata?.csw_metadata?.frequency_code ?? "unknown",
Expand Down

0 comments on commit de6d315

Please sign in to comment.