mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-27 11:03:40 +03:00
f24536c115
This pull request addresses an issue where the delete button, placed closely to the export button, could lead to accidental deletions without confirmation. The problem was that the confirmation modal for the delete action, being the second action, was not displayed. The code was updated to map all action bar entries and display their respective confirmation modals correctly. ### Changes Made: - Updated the rendering of action bar entries to ensure all confirmation modals are shown. Changed from displaying only the first action bar entry's confirmation modal to mapping through all entries and displaying each modal if it exists. - Removed the delete from the onClick because it is present in the onConfirmClick. |
||
---|---|---|
.. | ||
twenty-chrome-extension | ||
twenty-docker | ||
twenty-emails | ||
twenty-front | ||
twenty-postgres | ||
twenty-server | ||
twenty-ui | ||
twenty-utils | ||
twenty-website | ||
twenty-zapier |