diff --git a/package.json b/package.json
index e064613b..39f4ee06 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "recogito-client",
"type": "module",
- "version": "1.2.0",
+ "version": "1.2.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
diff --git a/public/templates/reset.html b/public/templates/reset.html
new file mode 100644
index 00000000..47621027
--- /dev/null
+++ b/public/templates/reset.html
@@ -0,0 +1,382 @@
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ Hello from Recogito Studio
+
+ You have requested your password reset for your Cove Studio
+ Account. Please click the button below to set your new
+ password. If you did not request a password reset then do
+ nothing and your password will remain the same.
+
+
+ The Cove Studio Team
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+ |
+
+
+
+
diff --git a/src/components/Annotation/AnnotationCardSection.tsx b/src/components/Annotation/AnnotationCardSection.tsx
index 271064ee..80ab5aa6 100644
--- a/src/components/Annotation/AnnotationCardSection.tsx
+++ b/src/components/Annotation/AnnotationCardSection.tsx
@@ -125,7 +125,11 @@ export const AnnotationCardSection = (props: AnnotationCardSectionProps) => {
}
}, [annotation, comment, index, present, tags]);
- const isMine = creator?.id === me.id;
+ // Note that 'me' being undefined caused problems in the past, so we're
+ // just being a little defensive here. Context: me is usually derived from
+ // the (initialized) Annotorious user, which means it will be undefined
+ // until annotations are loaded.
+ const isMine = creator?.id === me?.id;
// Comments are editable if they are mine, or I'm a layer admin
const canEdit = !isReadOnly && (isMine || props.policies?.get('layers').has('INSERT')) && !isProjectLocked;
diff --git a/src/components/AnnotationDesktop/DocumentNotes/DocumentNotes/DocumentNotes.tsx b/src/components/AnnotationDesktop/DocumentNotes/DocumentNotes/DocumentNotes.tsx
index e8b648a0..842171b8 100644
--- a/src/components/AnnotationDesktop/DocumentNotes/DocumentNotes/DocumentNotes.tsx
+++ b/src/components/AnnotationDesktop/DocumentNotes/DocumentNotes/DocumentNotes.tsx
@@ -61,14 +61,12 @@ export const DocumentNotes = (props: DocumentNotesProps) => {
const [channel, setChannel] = useState