Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions frontend/src/pages/annotate.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class Annotate extends React.Component {
reference_transcription,
is_marked_for_review,
segmentations,
original_filename,
filename,
} = response[1].data;

Expand All @@ -126,6 +127,7 @@ class Annotate extends React.Component {
isDataLoading: false,
referenceTranscription: reference_transcription,
isMarkedForReview: is_marked_for_review,
original_filename,
filename,
});

Expand Down Expand Up @@ -353,6 +355,7 @@ class Annotate extends React.Component {
isPlaying,
labels,
isDataLoading,
original_filename,
isMarkedForReview,
referenceTranscription,
selectedSegment,
Expand All @@ -367,6 +370,11 @@ class Annotate extends React.Component {
<title>Annotate</title>
</Helmet>
<div className="container h-100">
{!isDataLoading ? (
<div className="row justify-content-md-center my-4 font-weight-bold h4">
{original_filename}
</div>
) : null}
<div className="h-100 mt-5 text-center">
{errorMessage ? (
<Alert
Expand Down