Skip to content

Commit

Permalink
Fixed task name shown as [object Object] in viewer during task hint p…
Browse files Browse the repository at this point in the history
…layback
  • Loading branch information
sauterl committed Oct 11, 2023
1 parent 062cece commit f04441f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/viewer/task-viewer.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h2 class="header">{{ currentTaskName | async }} (Task is about to start!)</h2>

<!-- VIEWER_PLAYBACK -->
<div *ngIf="(viewerState | async) === 4">
<h2 style="text-align: center">{{ currentHintContent | async }} ({{ toFormattedTime(timeLeft | async) }})</h2>
<h2 style="text-align: center">{{ currentTaskName | async }} ({{ toFormattedTime(timeLeft | async) }})</h2>
<div *ngIf="currentTaskHint | async">
<app-text-object-preview [queryContent]="currentHintContent"></app-text-object-preview>
<app-video-object-preview [queryObject]="currentHintContent" [muted]="(config.configAsObservable | async).effects.mute"></app-video-object-preview>
Expand Down

0 comments on commit f04441f

Please sign in to comment.