mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +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() {
|
function maybeRenderScrapeDialog() {
|
||||||
if (!scrapedPerformer || !scraper) {
|
if (!scrapedPerformer) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ export const PerformerScrapeDialog: React.FC<IPerformerScrapeDialogProps> = (
|
|||||||
) => {
|
) => {
|
||||||
const intl = useIntl();
|
const intl = useIntl();
|
||||||
|
|
||||||
const endpoint = (props.scraper as IStashBox).endpoint ?? undefined;
|
const endpoint = (props.scraper as IStashBox)?.endpoint ?? undefined;
|
||||||
|
|
||||||
function getCurrentRemoteSiteID() {
|
function getCurrentRemoteSiteID() {
|
||||||
if (!endpoint) {
|
if (!endpoint) {
|
||||||
|
|||||||
Reference in New Issue
Block a user