mirror of
https://github.com/stashapp/stash.git
synced 2026-01-01 21:26:24 +01:00
Prefer modified performer image over scraped one (#449)
This commit is contained in:
parent
91d842ed47
commit
2ab45848a5
1 changed files with 2 additions and 1 deletions
|
|
@ -106,7 +106,8 @@ export const PerformerDetailsPanel: React.FC<IPerformerDetails> = ({
|
|||
updatePerformerEditState(state);
|
||||
|
||||
// image is a base64 string
|
||||
if ((state as GQL.ScrapedPerformerDataFragment).image !== undefined) {
|
||||
// #404: don't overwrite image if it has been modified by the user
|
||||
if (image === undefined && (state as GQL.ScrapedPerformerDataFragment).image !== undefined) {
|
||||
const imageStr = (state as GQL.ScrapedPerformerDataFragment).image;
|
||||
setImage(imageStr ?? undefined);
|
||||
if (onImageChange) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue