Hello
If you select a segment on the board (a connector with empty ends) and write this code:
let arrSelect = await miro.board.getSelection();
console.log(arrSelect[0].style);
then the end of the segment will be defined as "stealth", although in fact it should be "none" (fig. 1)
![](https://uploads-us-west-2.insided.com/miro-us/attachment/d4a92eea-7757-4a52-964e-856523bc745e.png)
If you select the first value in the list with the beginning of the arrow (Fig. 2), then it is defined as "none", which is also not true.
![](https://uploads-us-west-2.insided.com/miro-us/attachment/0b57d246-f868-4b66-99f4-32cf5be06fd2.png)
The function works correctly with all other types of ends.