Skip to content

Commit 37705ba

Browse files
fix: FIT-272: Label / Review Stream 'Info Bar' is missing in the new Labeling UI (along with the info as to why the task is served to user) (#8625)
1 parent 55aafeb commit 37705ba

File tree

1 file changed

+8
-0
lines changed
  • web/libs/datamanager/src/stores/DataStores

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,14 @@ export const create = (columns) => {
199199
getRoot(self).SDK.invoke("assignedStreamFinished");
200200
}
201201

202+
const isLabelStream = getRoot(self).SDK?.mode === "labelstream";
203+
if (isLabelStream) {
204+
const selectedAnnotationID = getRoot(self).annotationStore.selected?.id;
205+
console.log(
206+
`[LABEL STREAM] ${task.queue}, task ${task.id}, project ${task.project}, user ${getRoot(self).LSF.lsf.user.id}${selectedAnnotationID ? `, annotation ${selectedAnnotationID}` : ""}`,
207+
);
208+
}
209+
202210
return task;
203211
}),
204212

0 commit comments

Comments
 (0)