Skip to content

Commit d1b1353

Browse files
committed
less
1 parent 49a011f commit d1b1353

File tree

1 file changed

+4
-6
lines changed
  • services/static-webserver/client/source/class/osparc/workbench

1 file changed

+4
-6
lines changed

services/static-webserver/client/source/class/osparc/workbench/Annotation.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,11 @@ qx.Class.define("osparc.workbench.Annotation", {
224224
},
225225

226226
serialize: function() {
227-
const type = this.getType();
228-
const data = {
229-
type,
227+
return {
228+
type: this.getType(),
230229
attributes: this.getAttributes(),
231-
}
232-
data.color = this.getColor();
233-
return data;
230+
color: this.getColor(),
231+
};
234232
}
235233
}
236234
});

0 commit comments

Comments
 (0)