From bebdaf11f05a399bfe9bc96aa72ae669b24c2f8f Mon Sep 17 00:00:00 2001 From: Dusanst Date: Mon, 21 Aug 2023 12:55:54 +0200 Subject: [PATCH 1/2] removed unused prop --- .../MultilingualTextInput/MultilingualTextInput.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/oarepo_ui/theme/assets/semantic-ui/js/oarepo_ui/forms/components/MultilingualTextInput/MultilingualTextInput.jsx b/oarepo_ui/theme/assets/semantic-ui/js/oarepo_ui/forms/components/MultilingualTextInput/MultilingualTextInput.jsx index 18507880..cafc07ca 100644 --- a/oarepo_ui/theme/assets/semantic-ui/js/oarepo_ui/forms/components/MultilingualTextInput/MultilingualTextInput.jsx +++ b/oarepo_ui/theme/assets/semantic-ui/js/oarepo_ui/forms/components/MultilingualTextInput/MultilingualTextInput.jsx @@ -21,13 +21,14 @@ export const MultilingualTextInput = ({ textFieldLabel, textFieldIcon, helpText, + addButtonLabel, ...uiProps }) => { const { options: allLanguages } = useVocabularyOptions("languages"); return ( ) : ( @@ -97,6 +97,7 @@ MultilingualTextInput.propTypes = { textFieldLabel: PropTypes.string, textFieldIcon: PropTypes.string, helpText: PropTypes.string, + addButtonLabel: PropTypes.string, }; MultilingualTextInput.defaultProps = { @@ -106,4 +107,5 @@ MultilingualTextInput.defaultProps = { }, rich: false, label: undefined, + addButtonLabel: i18next.t("Add another language"), }; From 18293c9736e08b044f74de7607c5cfdde5cdcec8 Mon Sep 17 00:00:00 2001 From: Miroslav Bauer Date: Mon, 21 Aug 2023 13:39:06 +0200 Subject: [PATCH 2/2] chore(release): release version 5.0.47 --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 3e472c90..ed5563c2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = oarepo-ui -version = 5.0.46 +version = 5.0.47 description = UI module for invenio 3.5+ long_description = file: README.md long_description_content_type = text/markdown