Skip to content

Commit

Permalink
Fixed: Album release selection in manual import
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan committed Mar 31, 2024
1 parent 2a10505 commit e847828
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import _ from 'lodash';
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import FormInputGroup from 'Components/Form/FormInputGroup';
import SelectInput from 'Components/Form/SelectInput';
import TableRowCell from 'Components/Table/Cells/TableRowCell';
import TableRow from 'Components/Table/TableRow';
import { inputTypes } from 'Helpers/Props';
import shortenList from 'Utilities/String/shortenList';
import titleCase from 'Utilities/String/titleCase';

Expand Down Expand Up @@ -56,8 +55,7 @@ class SelectAlbumReleaseRow extends Component {
if (name === 'release') {
return (
<TableRowCell key={name}>
<FormInputGroup
type={inputTypes.SELECT}
<SelectInput
name={id.toString()}
values={_.map(releases, (r) => ({
key: r.id,
Expand Down

0 comments on commit e847828

Please sign in to comment.