Fixed: None Metadata Profile option to bulk editor

pull/4458/head v2.1.3.3927
Bogdan 4 months ago
parent e5e69f06c0
commit 171c083af6

@ -215,6 +215,7 @@ function EditArtistModalContent(props: EditArtistModalContentProps) {
value={metadataProfileId}
includeNoChange={true}
includeNoChangeDisabled={false}
includeNone={true}
onChange={onInputChange}
/>
</FormGroup>

@ -289,6 +289,7 @@ FormInputGroup.propTypes = {
autoFocus: PropTypes.bool,
includeNoChange: PropTypes.bool,
includeNoChangeDisabled: PropTypes.bool,
includeNone: PropTypes.bool,
selectedValueOptions: PropTypes.object,
pending: PropTypes.bool,
errors: PropTypes.arrayOf(PropTypes.object),

@ -17,7 +17,6 @@ function createMapStateToProps() {
(state, { includeMixed }) => includeMixed,
(state, { includeNone }) => includeNone,
(metadataProfiles, includeNoChange, includeNoChangeDisabled = true, includeMixed, includeNone) => {
const profiles = metadataProfiles.items.filter((item) => item.name !== metadataProfileNames.NONE);
const noneProfile = metadataProfiles.items.find((item) => item.name === metadataProfileNames.NONE);

Loading…
Cancel
Save