twenty icon indicating copy to clipboard operation
twenty copied to clipboard

fix(SingleEntitySelectMenuItems): extract `Add New` button from entitiesToSelect

Open nicolasrouanne opened this issue 3 months ago • 6 comments

Description

Closes #8169

Extract Add New button from entitiesToSelect and add it as a separate element . There doesn't seem to be a point in having Add New as part of a list, it seems better off in its own component, apart from list items

Rationale

There already is #8353 addressing the same issue, but it seems it doesn't really remove the duplicate "Add New" in the list, leaving a duplicate "Add New" in SingleEntitySelect

nicolasrouanne avatar Nov 13 '24 10:11 nicolasrouanne