mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Don't set image.title to file basename in graphql (#5658)
* Don't set image title to filename in graphql * Remove deprecated files field from image fragments
This commit is contained in:
@@ -18,7 +18,7 @@ import {
|
||||
faSearch,
|
||||
faTag,
|
||||
} from "@fortawesome/free-solid-svg-icons";
|
||||
import { objectTitle } from "src/core/files";
|
||||
import { imageTitle } from "src/core/files";
|
||||
import { TruncatedText } from "../Shared/TruncatedText";
|
||||
import ScreenUtils from "src/utils/screen";
|
||||
import { StudioOverlay } from "../Shared/GridCard/StudioOverlay";
|
||||
@@ -197,7 +197,7 @@ export const ImageCard: React.FC<IImageCardProps> = (
|
||||
className={`image-card zoom-${props.zoomIndex}`}
|
||||
url={`/images/${props.image.id}`}
|
||||
width={cardWidth}
|
||||
title={objectTitle(props.image)}
|
||||
title={imageTitle(props.image)}
|
||||
linkClassName="image-card-link"
|
||||
image={
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user