Skip to content

Commit

Permalink
Fixed: None Metadata Profile option to bulk editor
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan committed Jan 13, 2024
1 parent e5e69f0 commit 171c083
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Expand Up @@ -215,6 +215,7 @@ function EditArtistModalContent(props: EditArtistModalContentProps) {
value={metadataProfileId}
includeNoChange={true}
includeNoChangeDisabled={false}
includeNone={true}
onChange={onInputChange}
/>
</FormGroup>
Expand Down
1 change: 1 addition & 0 deletions frontend/src/Components/Form/FormInputGroup.js
Expand Up @@ -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),
Expand Down
Expand Up @@ -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);

Expand Down

0 comments on commit 171c083

Please sign in to comment.