Skip to content

Commit 6714fa4

Browse files
authored
fix: UTC-479: Warning message is displayed in background of 'You are paused in this project' message (#9392)
Co-authored-by: nass600 <nass600@users.noreply.github.com>
1 parent a7b9327 commit 6714fa4

File tree

1 file changed

+5
-3
lines changed
  • web/libs/datamanager/src/stores/DataStores

1 file changed

+5
-3
lines changed

web/libs/datamanager/src/stores/DataStores/tasks.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,11 @@ export const create = (columns) => {
205205
const isLabelStream = getRoot(self).SDK?.mode === "labelstream";
206206
if (isLabelStream) {
207207
const selectedAnnotationID = getRoot(self).annotationStore.selected?.id;
208-
console.log(
209-
`[LABEL STREAM] ${task.queue}, task ${task.id}, project ${getRoot(self)?.SDK?.project?.id}, user ${getRoot(self).LSF.lsf.user.id}${selectedAnnotationID ? `, annotation ${selectedAnnotationID}` : ""}`,
210-
);
208+
if (task && selectedAnnotationID) {
209+
console.log(
210+
`[LABEL STREAM] ${task.queue}, task ${task.id}, project ${getRoot(self)?.SDK?.project?.id}, user ${getRoot(self).LSF.lsf.user.id}${selectedAnnotationID ? `, annotation ${selectedAnnotationID}` : ""}`,
211+
);
212+
}
211213
}
212214

213215
return task;

0 commit comments

Comments
 (0)