Skip to content

Commit

Permalink
Modified formatAssetMetadata() to allow custom dc-format Labels
Browse files Browse the repository at this point in the history
  • Loading branch information
cheintzman committed Feb 23, 2024
1 parent 7c06834 commit 86142f1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,6 @@ export function formatAssetMetadata(propertyName, metadataValue) {
return DATA_TYPES.tags(metadataValue, propertyName);
}

// file types
if (['dc-format'].includes(propertyName)) {
return PREDEFINED_METADATA_FIELDS.format.format(metadataValue);
}

// dates
if (isDate(propertyName, metadataValue)) {
return formatDate(metadataValue);
Expand Down

0 comments on commit 86142f1

Please sign in to comment.