mirror of
https://github.com/stashapp/stash.git
synced 2026-02-17 04:41:33 +01:00
Add Xpath post processing and performer name query (#333)
This commit is contained in:
parent
3bbcc65521
commit
fb5a49e58c
1 changed files with 3 additions and 2 deletions
|
|
@ -164,9 +164,9 @@ export const PerformerDetailsPanel: React.FC<IPerformerDetails> = ({
|
|||
|
||||
async function onScrapePerformer() {
|
||||
setIsDisplayingScraperDialog(undefined);
|
||||
setIsLoading(true);
|
||||
try {
|
||||
if (!scrapePerformerDetails || !isDisplayingScraperDialog) return;
|
||||
setIsLoading(true);
|
||||
const result = await StashService.queryScrapePerformer(
|
||||
isDisplayingScraperDialog.id,
|
||||
getQueryScraperPerformerInput()
|
||||
|
|
@ -175,8 +175,9 @@ export const PerformerDetailsPanel: React.FC<IPerformerDetails> = ({
|
|||
updatePerformerEditState(result.data.scrapePerformer);
|
||||
} catch (e) {
|
||||
Toast.error(e);
|
||||
} finally {
|
||||
setIsLoading(false);
|
||||
}
|
||||
setIsLoading(false);
|
||||
}
|
||||
|
||||
async function onScrapePerformerURL() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue