mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Select first tagger result if resolved (#2051)
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
* Added plugin hook for Tag merge operation. ([#2010](https://github.com/stashapp/stash/pull/2010))
|
||||
|
||||
### 🐛 Bug fixes
|
||||
* Select first scene result in scene tagger where possible. ([#2051](https://github.com/stashapp/stash/pull/2051))
|
||||
* Reject dates with invalid format. ([#2052](https://github.com/stashapp/stash/pull/2052))
|
||||
* Fix Autostart Video on Play Selected and Continue Playlist default settings not working. ([#2050](https://github.com/stashapp/stash/pull/2050))
|
||||
* Fix "Custom Performer Images" feature picking up non-image files. ([#2017](https://github.com/stashapp/stash/pull/2017))
|
||||
|
||||
@@ -655,7 +655,7 @@ const StashSearchResult: React.FC<IStashSearchResultProps> = ({
|
||||
|
||||
export interface ISceneSearchResults {
|
||||
target: GQL.SlimSceneDataFragment;
|
||||
scenes: GQL.ScrapedSceneDataFragment[];
|
||||
scenes: IScrapedScene[];
|
||||
}
|
||||
|
||||
export const SceneSearchResults: React.FC<ISceneSearchResults> = ({
|
||||
@@ -667,6 +667,8 @@ export const SceneSearchResults: React.FC<ISceneSearchResults> = ({
|
||||
useEffect(() => {
|
||||
if (!scenes) {
|
||||
setSelectedResult(undefined);
|
||||
} else if (scenes.length > 0 && scenes[0].resolved) {
|
||||
setSelectedResult(0);
|
||||
}
|
||||
}, [scenes]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user