mirror of
https://github.com/stashapp/stash.git
synced 2025-12-14 04:13:56 +01:00
Fix scrape dialog null values (#3621)
This commit is contained in:
parent
2d8b6e1722
commit
3ab8f4aca6
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ export class ScrapeResult<T> {
|
|||
) {
|
||||
this.originalValue = originalValue ?? undefined;
|
||||
this.newValue = newValue ?? undefined;
|
||||
const hasNewValue = newValue !== undefined;
|
||||
const hasNewValue = this.newValue !== undefined;
|
||||
|
||||
const valuesEqual = isEqual(originalValue, newValue);
|
||||
this.useNewValue = useNewValue ?? (hasNewValue && !valuesEqual);
|
||||
|
|
|
|||
Loading…
Reference in a new issue