mirror of https://github.com/stashapp/stash.git
Treat edited values as scraped (#2702)
* Treat edited values as scraped * Fix scrape selection on change
This commit is contained in:
parent
b3bc5b999f
commit
d32e375521
|
@ -7,6 +7,7 @@
|
|||
* Moved Filter and Saved Filters buttons out of the query input field. ([#2668](https://github.com/stashapp/stash/pull/2668))
|
||||
|
||||
### 🐛 Bug fixes
|
||||
* Fix fields disappearing after creating missing objects in the scrape dialog. ([#2702](https://github.com/stashapp/stash/pull/2702))
|
||||
* Fix saved filters with uppercase characters not appearing in filtered results. ([#2698](https://github.com/stashapp/stash/pull/2698))
|
||||
* Fix query results not updating when clearing search query field. ([#2686](https://github.com/stashapp/stash/pull/2686))
|
||||
* Fix incorrect field name in movie export json. ([#2664](https://github.com/stashapp/stash/pull/2664))
|
||||
|
|
|
@ -45,8 +45,11 @@ export class ScrapeResult<T> {
|
|||
const ret = clone(this);
|
||||
|
||||
ret.newValue = value;
|
||||
ret.useNewValue = isEqual(ret.newValue, ret.originalValue);
|
||||
ret.scraped = ret.useNewValue;
|
||||
ret.useNewValue = !isEqual(ret.newValue, ret.originalValue);
|
||||
|
||||
// #2691 - if we're setting the value, assume it should be treated as
|
||||
// scraped
|
||||
ret.scraped = true;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue