mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Fix UI compile errors
This commit is contained in:
parent
6d8b2ae2bf
commit
4202d761be
1 changed files with 21 additions and 0 deletions
|
|
@ -389,91 +389,109 @@ const PerformerMergeDetails: React.FC<IPerformerMergeDetailsProps> = ({
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="name"
|
||||||
title={intl.formatMessage({ id: "name" })}
|
title={intl.formatMessage({ id: "name" })}
|
||||||
result={name}
|
result={name}
|
||||||
onChange={(value) => setName(value)}
|
onChange={(value) => setName(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="disambiguation"
|
||||||
title={intl.formatMessage({ id: "disambiguation" })}
|
title={intl.formatMessage({ id: "disambiguation" })}
|
||||||
result={disambiguation}
|
result={disambiguation}
|
||||||
onChange={(value) => setDisambiguation(value)}
|
onChange={(value) => setDisambiguation(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedTextAreaRow
|
<ScrapedTextAreaRow
|
||||||
|
field="aliases"
|
||||||
title={intl.formatMessage({ id: "aliases" })}
|
title={intl.formatMessage({ id: "aliases" })}
|
||||||
result={aliases}
|
result={aliases}
|
||||||
onChange={(value) => setAliases(value)}
|
onChange={(value) => setAliases(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="birthdate"
|
||||||
title={intl.formatMessage({ id: "birthdate" })}
|
title={intl.formatMessage({ id: "birthdate" })}
|
||||||
result={birthdate}
|
result={birthdate}
|
||||||
onChange={(value) => setBirthdate(value)}
|
onChange={(value) => setBirthdate(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="death_date"
|
||||||
title={intl.formatMessage({ id: "death_date" })}
|
title={intl.formatMessage({ id: "death_date" })}
|
||||||
result={deathDate}
|
result={deathDate}
|
||||||
onChange={(value) => setDeathDate(value)}
|
onChange={(value) => setDeathDate(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="ethnicity"
|
||||||
title={intl.formatMessage({ id: "ethnicity" })}
|
title={intl.formatMessage({ id: "ethnicity" })}
|
||||||
result={ethnicity}
|
result={ethnicity}
|
||||||
onChange={(value) => setEthnicity(value)}
|
onChange={(value) => setEthnicity(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="country"
|
||||||
title={intl.formatMessage({ id: "country" })}
|
title={intl.formatMessage({ id: "country" })}
|
||||||
result={country}
|
result={country}
|
||||||
onChange={(value) => setCountry(value)}
|
onChange={(value) => setCountry(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="hair_color"
|
||||||
title={intl.formatMessage({ id: "hair_color" })}
|
title={intl.formatMessage({ id: "hair_color" })}
|
||||||
result={hairColor}
|
result={hairColor}
|
||||||
onChange={(value) => setHairColor(value)}
|
onChange={(value) => setHairColor(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="eye_color"
|
||||||
title={intl.formatMessage({ id: "eye_color" })}
|
title={intl.formatMessage({ id: "eye_color" })}
|
||||||
result={eyeColor}
|
result={eyeColor}
|
||||||
onChange={(value) => setEyeColor(value)}
|
onChange={(value) => setEyeColor(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="height"
|
||||||
title={intl.formatMessage({ id: "height" })}
|
title={intl.formatMessage({ id: "height" })}
|
||||||
result={height}
|
result={height}
|
||||||
onChange={(value) => setHeight(value)}
|
onChange={(value) => setHeight(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="weight"
|
||||||
title={intl.formatMessage({ id: "weight" })}
|
title={intl.formatMessage({ id: "weight" })}
|
||||||
result={weight}
|
result={weight}
|
||||||
onChange={(value) => setWeight(value)}
|
onChange={(value) => setWeight(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="penis_length"
|
||||||
title={intl.formatMessage({ id: "penis_length" })}
|
title={intl.formatMessage({ id: "penis_length" })}
|
||||||
result={penisLength}
|
result={penisLength}
|
||||||
onChange={(value) => setPenisLength(value)}
|
onChange={(value) => setPenisLength(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="measurements"
|
||||||
title={intl.formatMessage({ id: "measurements" })}
|
title={intl.formatMessage({ id: "measurements" })}
|
||||||
result={measurements}
|
result={measurements}
|
||||||
onChange={(value) => setMeasurements(value)}
|
onChange={(value) => setMeasurements(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="fake_tits"
|
||||||
title={intl.formatMessage({ id: "fake_tits" })}
|
title={intl.formatMessage({ id: "fake_tits" })}
|
||||||
result={fakeTits}
|
result={fakeTits}
|
||||||
onChange={(value) => setFakeTits(value)}
|
onChange={(value) => setFakeTits(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedInputGroupRow
|
<ScrapedInputGroupRow
|
||||||
|
field="career_length"
|
||||||
title={intl.formatMessage({ id: "career_length" })}
|
title={intl.formatMessage({ id: "career_length" })}
|
||||||
result={careerLength}
|
result={careerLength}
|
||||||
onChange={(value) => setCareerLength(value)}
|
onChange={(value) => setCareerLength(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedTextAreaRow
|
<ScrapedTextAreaRow
|
||||||
|
field="tattoos"
|
||||||
title={intl.formatMessage({ id: "tattoos" })}
|
title={intl.formatMessage({ id: "tattoos" })}
|
||||||
result={tattoos}
|
result={tattoos}
|
||||||
onChange={(value) => setTattoos(value)}
|
onChange={(value) => setTattoos(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedTextAreaRow
|
<ScrapedTextAreaRow
|
||||||
|
field="piercings"
|
||||||
title={intl.formatMessage({ id: "piercings" })}
|
title={intl.formatMessage({ id: "piercings" })}
|
||||||
result={piercings}
|
result={piercings}
|
||||||
onChange={(value) => setPiercings(value)}
|
onChange={(value) => setPiercings(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedStringListRow
|
<ScrapedStringListRow
|
||||||
|
field="urls"
|
||||||
title={intl.formatMessage({ id: "urls" })}
|
title={intl.formatMessage({ id: "urls" })}
|
||||||
result={urls}
|
result={urls}
|
||||||
onChange={(value) => setURLs(value)}
|
onChange={(value) => setURLs(value)}
|
||||||
|
|
@ -489,16 +507,19 @@ const PerformerMergeDetails: React.FC<IPerformerMergeDetailsProps> = ({
|
||||||
(value) => setCircumcised(value)
|
(value) => setCircumcised(value)
|
||||||
)}
|
)}
|
||||||
<ScrapedTagsRow
|
<ScrapedTagsRow
|
||||||
|
field="tags"
|
||||||
title={intl.formatMessage({ id: "tags" })}
|
title={intl.formatMessage({ id: "tags" })}
|
||||||
result={tags}
|
result={tags}
|
||||||
onChange={(value) => setTags(value)}
|
onChange={(value) => setTags(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedTextAreaRow
|
<ScrapedTextAreaRow
|
||||||
|
field="details"
|
||||||
title={intl.formatMessage({ id: "details" })}
|
title={intl.formatMessage({ id: "details" })}
|
||||||
result={details}
|
result={details}
|
||||||
onChange={(value) => setDetails(value)}
|
onChange={(value) => setDetails(value)}
|
||||||
/>
|
/>
|
||||||
<ScrapedImageRow
|
<ScrapedImageRow
|
||||||
|
field="image"
|
||||||
title={intl.formatMessage({ id: "performer_image" })}
|
title={intl.formatMessage({ id: "performer_image" })}
|
||||||
className="performer-image"
|
className="performer-image"
|
||||||
result={image}
|
result={image}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue