Open danyill opened 1 year ago
If the event detail is a complex Edit (i.e. is an array) we can probably do this:
const flatEdits = [event.detail].flat(Infinity as 1);
This would be useful for me as the subscribe functionality only returns complex Edits.
I see this project is forked in the open-scd organisation but there are no issues there ATM
open-scd
Hmmm... no the code seems to handle them so I must investigate why they are not working for me.
If the event detail is a complex Edit (i.e. is an array) we can probably do this:
This would be useful for me as the subscribe functionality only returns complex Edits.
I see this project is forked in the
open-scd
organisation but there are no issues there ATM