mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Port Movies UI to v2.5 (#397)
* Ignore generated-graphql.tsx in 2.5 * Make movie name mandatory * Port #395 fix to v2.5 * Differentiate front/back image browse buttons * Move URL, Synopsis to separate rows * Fix unknown query params crashing UI
This commit is contained in:
@@ -19,6 +19,11 @@ const menuItems: IMenuItem[] = [
|
||||
messageID: "scenes",
|
||||
href: "/scenes"
|
||||
},
|
||||
{
|
||||
href: "/movies",
|
||||
icon: "film",
|
||||
messageID: "movies"
|
||||
},
|
||||
{
|
||||
href: "/scenes/markers",
|
||||
icon: "map-marker-alt",
|
||||
@@ -79,6 +84,8 @@ export const MainNavbar: React.FC = () => {
|
||||
? "/performers/new"
|
||||
: location.pathname === "/studios"
|
||||
? "/studios/new"
|
||||
: location.pathname === "/movies"
|
||||
? "/movies/new"
|
||||
: null;
|
||||
const newButton =
|
||||
path === null ? (
|
||||
@@ -98,7 +105,7 @@ export const MainNavbar: React.FC = () => {
|
||||
variant="dark"
|
||||
bg="dark"
|
||||
className="top-nav"
|
||||
expand="md"
|
||||
expand="lg"
|
||||
expanded={expanded}
|
||||
onToggle={setExpanded}
|
||||
ref={navbarRef}
|
||||
|
||||
Reference in New Issue
Block a user