diff --git a/pages/actors/@actorId/edit/+Page.vue b/pages/actors/@actorId/edit/+Page.vue index bcfd5cd..9fc95ab 100644 --- a/pages/actors/@actorId/edit/+Page.vue +++ b/pages/actors/@actorId/edit/+Page.vue @@ -376,7 +376,6 @@ diff --git a/src/actors.js b/src/actors.js index 394f596..5fd1574 100644 --- a/src/actors.js +++ b/src/actors.js @@ -806,7 +806,7 @@ export async function createActorRevision(actorId, { if (['cup', 'bust', 'waist', 'hip'].includes(key)) { const convertedValue = convertFigure(key, value, options.figureUnits); - const conversionComment = convertedValue === value + const conversionComment = !value || convertedValue === value ? null : `${key} converted from ${value} ${options.figureUnits?.toUpperCase() || 'US'} to ${convertedValue} US`;