mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Fix scrape dialog not showing when scraping url (#1632)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user