mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Item list refactor and related bug fixes (#3474)
* Replace ListHook with ItemList * Cache ItemList pagination * Fix SceneMarkerList Helmet * Prevent ItemList query string conflicts * Tweak saved filter clearing search term * Hide pagination on filter changes * Fix debounce of query term --------- Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
@@ -237,7 +237,10 @@ const StudioPage: React.FC<IProps> = ({ studio }) => {
|
||||
</React.Fragment>
|
||||
}
|
||||
>
|
||||
<StudioScenesPanel studio={studio} />
|
||||
<StudioScenesPanel
|
||||
active={activeTabKey == "scenes"}
|
||||
studio={studio}
|
||||
/>
|
||||
</Tab>
|
||||
<Tab
|
||||
eventKey="galleries"
|
||||
@@ -251,7 +254,10 @@ const StudioPage: React.FC<IProps> = ({ studio }) => {
|
||||
</React.Fragment>
|
||||
}
|
||||
>
|
||||
<StudioGalleriesPanel studio={studio} />
|
||||
<StudioGalleriesPanel
|
||||
active={activeTabKey == "galleries"}
|
||||
studio={studio}
|
||||
/>
|
||||
</Tab>
|
||||
<Tab
|
||||
eventKey="images"
|
||||
@@ -265,7 +271,10 @@ const StudioPage: React.FC<IProps> = ({ studio }) => {
|
||||
</React.Fragment>
|
||||
}
|
||||
>
|
||||
<StudioImagesPanel studio={studio} />
|
||||
<StudioImagesPanel
|
||||
active={activeTabKey == "images"}
|
||||
studio={studio}
|
||||
/>
|
||||
</Tab>
|
||||
<Tab
|
||||
eventKey="performers"
|
||||
@@ -279,7 +288,10 @@ const StudioPage: React.FC<IProps> = ({ studio }) => {
|
||||
</React.Fragment>
|
||||
}
|
||||
>
|
||||
<StudioPerformersPanel studio={studio} />
|
||||
<StudioPerformersPanel
|
||||
active={activeTabKey == "performers"}
|
||||
studio={studio}
|
||||
/>
|
||||
</Tab>
|
||||
<Tab
|
||||
eventKey="movies"
|
||||
@@ -293,7 +305,10 @@ const StudioPage: React.FC<IProps> = ({ studio }) => {
|
||||
</React.Fragment>
|
||||
}
|
||||
>
|
||||
<StudioMoviesPanel studio={studio} />
|
||||
<StudioMoviesPanel
|
||||
active={activeTabKey == "movies"}
|
||||
studio={studio}
|
||||
/>
|
||||
</Tab>
|
||||
<Tab
|
||||
eventKey="childstudios"
|
||||
@@ -307,7 +322,10 @@ const StudioPage: React.FC<IProps> = ({ studio }) => {
|
||||
</React.Fragment>
|
||||
}
|
||||
>
|
||||
<StudioChildrenPanel studio={studio} />
|
||||
<StudioChildrenPanel
|
||||
active={activeTabKey == "childstudios"}
|
||||
studio={studio}
|
||||
/>
|
||||
</Tab>
|
||||
</Tabs>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user