mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Rename Movie to Group in UI (#4963)
* Replace movies with groups in the UI * Massage menu items * Change view names * Rename Movie components to Group * Refactor movie to group variable names * Rename movie class names to group
This commit is contained in:
@@ -26,7 +26,7 @@ import { faTableColumns } from "@fortawesome/free-solid-svg-icons";
|
||||
import { TagIDSelect } from "../Tags/TagSelect";
|
||||
import { StudioIDSelect } from "../Studios/StudioSelect";
|
||||
import { GalleryIDSelect } from "../Galleries/GallerySelect";
|
||||
import { MovieIDSelect } from "../Movies/MovieSelect";
|
||||
import { GroupIDSelect } from "../Movies/MovieSelect";
|
||||
import { SceneIDSelect } from "../Scenes/SceneSelect";
|
||||
|
||||
export type SelectObject = {
|
||||
@@ -44,7 +44,7 @@ interface ITypeProps {
|
||||
| "scene_tags"
|
||||
| "performer_tags"
|
||||
| "scenes"
|
||||
| "movies"
|
||||
| "groups"
|
||||
| "galleries";
|
||||
}
|
||||
interface IFilterProps {
|
||||
@@ -364,8 +364,8 @@ export const StudioSelect: React.FC<
|
||||
return <StudioIDSelect {...props} />;
|
||||
};
|
||||
|
||||
export const MovieSelect: React.FC<IFilterProps> = (props) => {
|
||||
return <MovieIDSelect {...props} />;
|
||||
export const GroupSelect: React.FC<IFilterProps> = (props) => {
|
||||
return <GroupIDSelect {...props} />;
|
||||
};
|
||||
|
||||
export const TagSelect: React.FC<
|
||||
@@ -382,8 +382,8 @@ export const FilterSelect: React.FC<IFilterProps & ITypeProps> = (props) => {
|
||||
return <StudioSelect {...props} creatable={false} />;
|
||||
case "scenes":
|
||||
return <SceneSelect {...props} creatable={false} />;
|
||||
case "movies":
|
||||
return <MovieSelect {...props} creatable={false} />;
|
||||
case "groups":
|
||||
return <GroupSelect {...props} creatable={false} />;
|
||||
case "galleries":
|
||||
return <GallerySelect {...props} />;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user