Hey! I can login and create tags, albums, photos, etc, and it seems to work great.
But when I try and save a photo, clicking on the "Save" button seems to fail silently.
Looking in the console, I see the following:
photo-update.tsx:47 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'toString')
at photo-update.tsx:47:1
at Array.find (<anonymous>)
at saveEntity (photo-update.tsx:47:1)
at index.cjs.js:1:1
which leads me to the const entity line below:
const saveEntity = values => {
values.taken = convertDateTimeToServer(values.taken);
values.uploaded = convertDateTimeToServer(values.uploaded);
const entity = {
...photoEntity,
...values,
tags: mapIdList(values.tags),
album: albums.find(it => it.id.toString() === values.album.toString()),
};
Hey! I can login and create tags, albums, photos, etc, and it seems to work great.
But when I try and save a photo, clicking on the "Save" button seems to fail silently.
Looking in the console, I see the following:
which leads me to the
const entityline below: