diff --git a/src/web/app/components/copy-session-modal/copy-session-modal.component.html b/src/web/app/components/copy-session-modal/copy-session-modal.component.html
index 3e0fabdf899..835428290d1 100644
--- a/src/web/app/components/copy-session-modal/copy-session-modal.component.html
+++ b/src/web/app/components/copy-session-modal/copy-session-modal.component.html
@@ -35,5 +35,5 @@
\ No newline at end of file
diff --git a/src/web/app/components/copy-session-modal/copy-session-modal.component.ts b/src/web/app/components/copy-session-modal/copy-session-modal.component.ts
index 53efc1e3b65..e0bb8670eb8 100644
--- a/src/web/app/components/copy-session-modal/copy-session-modal.component.ts
+++ b/src/web/app/components/copy-session-modal/copy-session-modal.component.ts
@@ -39,7 +39,7 @@ constructor(public activeModal: NgbActiveModal) {}
}
validateName(newFeedbackSessionName: string): boolean {
- return (!(newFeedbackSessionName.trim().length === 0 && newFeedbackSessionName !== ''));
+ return (!(newFeedbackSessionName.trim().length === 0 && newFeedbackSessionName !== null));
}
/**