Spaces:
Sleeping
Sleeping
Commit ·
290ad35
1
Parent(s): 2ae6728
fix: rename 'Your Name' to 'Annotator', make read-only, auto-populated from OAuth
Browse files
app/components/AnnotationModal.js
CHANGED
|
@@ -78,14 +78,13 @@ export default function AnnotationModal({
|
|
| 78 |
|
| 79 |
{/* Annotator name */}
|
| 80 |
<div className="form-group">
|
| 81 |
-
<label htmlFor="annotator-name">
|
| 82 |
<input
|
| 83 |
id="annotator-name"
|
| 84 |
type="text"
|
| 85 |
className="form-input"
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
onChange={(e) => onAnnotatorChange(e.target.value)}
|
| 89 |
/>
|
| 90 |
</div>
|
| 91 |
</div>
|
|
|
|
| 78 |
|
| 79 |
{/* Annotator name */}
|
| 80 |
<div className="form-group">
|
| 81 |
+
<label htmlFor="annotator-name">Annotator</label>
|
| 82 |
<input
|
| 83 |
id="annotator-name"
|
| 84 |
type="text"
|
| 85 |
className="form-input"
|
| 86 |
+
value={annotatorName || 'Not signed in'}
|
| 87 |
+
readOnly
|
|
|
|
| 88 |
/>
|
| 89 |
</div>
|
| 90 |
</div>
|