Skip to content

ui: add delete button #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

utnapischtim
Copy link
Contributor

@utnapischtim utnapischtim commented Apr 30, 2025

this change enables the delete button on the jobs list.

ERROR:
this change is not working because of an error here:
https://github.com/inveniosoftware/invenio-administration/blob/main/invenio_administration/assets/semantic-ui/js/invenio_administration/src/actions/Actions.js#L34

there error is:

Error: React.Children.only expected to receive a single React element child.

and the warning:

Warning: Failed prop type: Given props {  }: Invalid prop `children` of type `array` supplied to `Dropdown`, expected a single ReactElement.

if i set manually _displayAsDropdown to false it would look like:

jobs-delete-screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant