Skip to content

Commit

Permalink
fix(#1008): set the event_timestamp when annotating (#1024)
Browse files Browse the repository at this point in the history
* fix(#1008):  set the event_timestamp when annotating TextClassificationRecords  #1008

fix #1008

* set event_timestamp for all tasks

(cherry picked from commit 034881b)
  • Loading branch information
leiyre authored and frascuchon committed Jan 31, 2022
1 parent 8b570fb commit c24fdad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/models/Common.js
Expand Up @@ -22,8 +22,8 @@ class BaseRecord {
annotation;
predicted;
status;

selected;
event_timestamp;

constructor({
id,
Expand All @@ -33,6 +33,7 @@ class BaseRecord {
predicted,
status,
selected,
event_timestamp,
}) {
this.id = id;
this.metadata = metadata;
Expand All @@ -41,6 +42,7 @@ class BaseRecord {
this.predicted = predicted;
this.status = status;
this.selected = selected || false;
this.event_timestamp = event_timestamp;
}

recordTitle() {
Expand Down

0 comments on commit c24fdad

Please sign in to comment.