mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Use a default stash-box name if none provided (#1889)
* Use a default stash-box name if none provided
This commit is contained in:
@@ -35,6 +35,7 @@ import { MovieSelect } from "src/components/Shared/Select";
|
||||
import { useFormik } from "formik";
|
||||
import { Prompt } from "react-router";
|
||||
import { ConfigurationContext } from "src/hooks/Config";
|
||||
import { stashboxDisplayName } from "src/utils/stashbox";
|
||||
import { SceneMovieTable } from "./SceneMovieTable";
|
||||
import { RatingStars } from "./RatingStars";
|
||||
import { SceneScrapeDialog } from "./SceneScrapeDialog";
|
||||
@@ -396,7 +397,7 @@ export const SceneEditPanel: React.FC<IProps> = ({
|
||||
key={s.endpoint}
|
||||
onClick={() => onScrapeQueryClicked({ stash_box_index: index })}
|
||||
>
|
||||
{s.name ?? "Stash-Box"}
|
||||
{stashboxDisplayName(s.name, index)}
|
||||
</Dropdown.Item>
|
||||
))}
|
||||
{queryableScrapers.map((s) => (
|
||||
@@ -463,7 +464,7 @@ export const SceneEditPanel: React.FC<IProps> = ({
|
||||
key={s.endpoint}
|
||||
onClick={() => onScrapeClicked({ stash_box_index: index })}
|
||||
>
|
||||
{s.name ?? "Stash-Box"}
|
||||
{stashboxDisplayName(s.name, index)}
|
||||
</Dropdown.Item>
|
||||
))}
|
||||
{fragmentScrapers.map((s) => (
|
||||
|
||||
Reference in New Issue
Block a user