diff options
Diffstat (limited to 'animism-align/frontend/app/views/align/components/annotations')
2 files changed, 2 insertions, 1 deletions
diff --git a/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js index d3e981a..ae58db4 100644 --- a/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js +++ b/animism-align/frontend/app/views/align/components/annotations/annotationForms/annotationForm.image.js @@ -9,6 +9,7 @@ export const AnnotationFormImage = ({ annotation, media, handleSettingsSelect, h if (!media.lookup) return <div /> const image_list_items = makeMediaItems(media, ['image', 'gallery']) const { gallery_items, thumbnail } = makeGalleryItems(annotation, media) + console.log(annotation) return ( <div className='options'> <Select diff --git a/animism-align/frontend/app/views/align/components/annotations/annotationTypes/annotationTypes.image.js b/animism-align/frontend/app/views/align/components/annotations/annotationTypes/annotationTypes.image.js index 9dcd976..d0a573e 100644 --- a/animism-align/frontend/app/views/align/components/annotations/annotationTypes/annotationTypes.image.js +++ b/animism-align/frontend/app/views/align/components/annotations/annotationTypes/annotationTypes.image.js @@ -39,7 +39,7 @@ export const AnnotationImage = ({ y, annotation, media, timeline, selected, onCl <div> <i>{mediaItem.title}</i>{' - '}{mediaItem.author} {mediaItem.type === 'gallery' && ( - ' [Frame ' + (1 + annotation.settings.frame_index) + ']' + ' [Frame ' + (1 + parseInt(annotation.settings.frame_index)) + ']' )} </div> </div> |
