mirror of
https://github.com/stashapp/stash.git
synced 2025-12-24 01:03:24 +01:00
Fix scrape dialog not showing when scraping url (#1632)
This commit is contained in:
parent
d4d45d5a06
commit
59c6fe046d
2 changed files with 2 additions and 2 deletions
|
|
@ -669,7 +669,7 @@ export const PerformerEditPanel: React.FC<IPerformerDetails> = ({
|
|||
}
|
||||
|
||||
function maybeRenderScrapeDialog() {
|
||||
if (!scrapedPerformer || !scraper) {
|
||||
if (!scrapedPerformer) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ export const PerformerScrapeDialog: React.FC<IPerformerScrapeDialogProps> = (
|
|||
) => {
|
||||
const intl = useIntl();
|
||||
|
||||
const endpoint = (props.scraper as IStashBox).endpoint ?? undefined;
|
||||
const endpoint = (props.scraper as IStashBox)?.endpoint ?? undefined;
|
||||
|
||||
function getCurrentRemoteSiteID() {
|
||||
if (!endpoint) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue