From 56138f7fb7ebed9794ba477034cd986d6355c5cd Mon Sep 17 00:00:00 2001 From: ziajka Date: Thu, 8 Nov 2018 13:09:37 +0100 Subject: [PATCH] Fix drawings --- src/app/cartography/components/map/map.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/cartography/components/map/map.component.ts b/src/app/cartography/components/map/map.component.ts index e48ecdba..9acdb21d 100644 --- a/src/app/cartography/components/map/map.component.ts +++ b/src/app/cartography/components/map/map.component.ts @@ -99,7 +99,7 @@ export class MapComponent implements OnInit, OnChanges, OnDestroy { @Input('readonly') set readonly(value) { this.nodesWidget.draggingEnabled = !value; - this.drawingsWidget.draggingEnabled == !value; + this.drawingsWidget.draggingEnabled = !value; } ngOnChanges(changes: { [propKey: string]: SimpleChange }) {