mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Include organized field in merge dialog (#3565)
This commit is contained in:
@@ -36,10 +36,11 @@ export class ScrapeResult<T> {
|
||||
) {
|
||||
this.originalValue = originalValue ?? undefined;
|
||||
this.newValue = newValue ?? undefined;
|
||||
const hasNewValue = newValue !== undefined;
|
||||
|
||||
const valuesEqual = isEqual(originalValue, newValue);
|
||||
this.useNewValue = useNewValue ?? (!!this.newValue && !valuesEqual);
|
||||
this.scraped = !!this.newValue && !valuesEqual;
|
||||
this.useNewValue = useNewValue ?? (hasNewValue && !valuesEqual);
|
||||
this.scraped = hasNewValue && !valuesEqual;
|
||||
}
|
||||
|
||||
public setOriginalValue(value?: T) {
|
||||
|
||||
Reference in New Issue
Block a user