From 86142f1323a5f1f01670eb5d7acfe00c404495ac Mon Sep 17 00:00:00 2001 From: Christopher Heintzman Date: Fri, 23 Feb 2024 10:38:35 -0500 Subject: [PATCH] Modified formatAssetMetadata() to allow custom dc-format Labels --- scripts/metadata.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/metadata.js b/scripts/metadata.js index b9e42091..403f706d 100644 --- a/scripts/metadata.js +++ b/scripts/metadata.js @@ -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);