Skip to content

Commit 3eb670d

Browse files
Javier Romero Caatrokpsherva
Javier Romero Caatro
authored andcommitted
creatibutors: fix buttons
1 parent ddc22b5 commit 3eb670d

File tree

1 file changed

+3
-3
lines changed
  • invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/fields/CreatibutorsField

1 file changed

+3
-3
lines changed

invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/fields/CreatibutorsField/CreatibutorsFieldItem.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ export const CreatibutorsFieldItem = ({
7979
className={hidden ? "deposit-drag-listitem hidden" : "deposit-drag-listitem"}
8080
>
8181
<List.Content floated="right">
82-
<Button size="mini" type="button" onClick={() => removeCreatibutor(index)}>
83-
{i18next.t("Remove")}
84-
</Button>
8582
<CreatibutorsModal
8683
addLabel={addLabel}
8784
editLabel={editLabel}
@@ -99,6 +96,9 @@ export const CreatibutorsFieldItem = ({
9996
</Button>
10097
}
10198
/>
99+
<Button size="mini" type="button" onClick={() => removeCreatibutor(index)}>
100+
{i18next.t("Remove")}
101+
</Button>
102102
</List.Content>
103103
<Ref innerRef={drag}>
104104
<List.Icon name="bars" className="drag-anchor" />

0 commit comments

Comments
 (0)