mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +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:
@@ -81,11 +81,11 @@ export function getAggregateTagIds(state: { tags: IHasID[] }[]) {
|
||||
return getAggregateIds(sortedLists);
|
||||
}
|
||||
|
||||
interface IMovie {
|
||||
interface IGroup {
|
||||
movie: IHasID;
|
||||
}
|
||||
|
||||
export function getAggregateMovieIds(state: { movies: IMovie[] }[]) {
|
||||
export function getAggregateGroupIds(state: { movies: IGroup[] }[]) {
|
||||
const sortedLists = state.map((o) =>
|
||||
o.movies.map((oo) => oo.movie.id).sort()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user