mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Add movies tab to Studios and Performers page (#1675)
* Add movies tab to Studios page * Add performers filter to movies * Add movies tab to performers page
This commit is contained in:
@@ -28,6 +28,7 @@ import { StudioChildrenPanel } from "./StudioChildrenPanel";
|
||||
import { StudioPerformersPanel } from "./StudioPerformersPanel";
|
||||
import { StudioEditPanel } from "./StudioEditPanel";
|
||||
import { StudioDetailsPanel } from "./StudioDetailsPanel";
|
||||
import { StudioMoviesPanel } from "./StudioMoviesPanel";
|
||||
|
||||
interface IStudioParams {
|
||||
id?: string;
|
||||
@@ -186,7 +187,8 @@ export const Studio: React.FC = () => {
|
||||
tab === "childstudios" ||
|
||||
tab === "images" ||
|
||||
tab === "galleries" ||
|
||||
tab === "performers"
|
||||
tab === "performers" ||
|
||||
tab === "movies"
|
||||
? tab
|
||||
: "scenes";
|
||||
const setActiveTabKey = (newTab: string | null) => {
|
||||
@@ -276,6 +278,9 @@ export const Studio: React.FC = () => {
|
||||
>
|
||||
<StudioPerformersPanel studio={studio} />
|
||||
</Tab>
|
||||
<Tab eventKey="movies" title={intl.formatMessage({ id: "movies" })}>
|
||||
<StudioMoviesPanel studio={studio} />
|
||||
</Tab>
|
||||
<Tab
|
||||
eventKey="childstudios"
|
||||
title={intl.formatMessage({ id: "child_studios" })}
|
||||
|
||||
Reference in New Issue
Block a user