Skip to content
Snippets Groups Projects
Commit b349abee authored by rhenck's avatar rhenck
Browse files

[player] Don't set unit state value for text element

parent f26565da
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ export class ElementComponent implements OnInit {
const unitStateElementCode = this.unitStateService.getUnitStateElement(this.elementModel.id);
if (unitStateElementCode) {
if (this.elementModel.type === 'text') {
elementComponent.elementModel.text = unitStateElementCode.value;
// elementComponent.elementModel.text = unitStateElementCode.value;
} else {
elementComponent.elementModel.value = unitStateElementCode.value;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment