mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Add Icons to tags if they have parent/child tags (#3931)
* Add Icons to tags if they have parent/child tags * Refactor TagLink --------- Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -6,7 +6,7 @@ import * as GQL from "src/core/generated-graphql";
|
||||
import { sortPerformers } from "src/core/performers";
|
||||
import { HoverPopover } from "./HoverPopover";
|
||||
import { Icon } from "./Icon";
|
||||
import { TagLink } from "./TagLink";
|
||||
import { PerformerLink } from "./TagLink";
|
||||
|
||||
interface IProps {
|
||||
performers: Partial<GQL.PerformerDataFragment>[];
|
||||
@@ -26,7 +26,11 @@ export const PerformerPopoverButton: React.FC<IProps> = ({ performers }) => {
|
||||
src={performer.image_path ?? ""}
|
||||
/>
|
||||
</Link>
|
||||
<TagLink key={performer.id} performer={performer} className="d-block" />
|
||||
<PerformerLink
|
||||
key={performer.id}
|
||||
performer={performer}
|
||||
className="d-block"
|
||||
/>
|
||||
</div>
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user