🐛 Clear touched flags when detaching a component

This commit is contained in:
Andrés Moya 2020-12-11 11:14:29 +01:00 committed by Andrey Antukh
parent 4e48b78e03
commit 6ed470ed5f

View file

@ -448,6 +448,9 @@
:val nil}
{:type :set
:attr :shape-ref
:val nil}
{:type :set
:attr :touched
:val nil}]})
shapes)
@ -466,7 +469,10 @@
:val (:component-root? obj)}
{:type :set
:attr :shape-ref
:val (:shape-ref obj)}]})
:val (:shape-ref obj)}
{:type :set
:attr :touched
:val (:touched obj)}]})
shapes)]
(rx/of (dwc/commit-changes rchanges uchanges {:commit-local? true}))))))