We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bfb1c9 commit a8c3631Copy full SHA for a8c3631
services/static-webserver/client/source/class/osparc/workbench/Annotation.js
@@ -276,13 +276,7 @@ qx.Class.define("osparc.workbench.Annotation", {
276
const serializeData = {
277
type: this.getType(),
278
attributes: this.getAttributes(),
279
- };
280
- if ([
281
- this.self().TYPES.RECT,
282
- this.self().TYPES.TEXT,
283
- this.self().TYPES.NOTE,
284
- ].includes(this.getType())) {
285
- serializeData.color = this.getColor();
+ color: this.getColor(), // TYPES.NOTE and TYPES.CONVERSATION do not need a color but backend expects it
286
}
287
return serializeData;
288
0 commit comments