We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0657bb9 commit a82c501Copy full SHA for a82c501
1 file changed
static/js/publisher/components/PrimaryNav/PrimaryNav.tsx
@@ -104,8 +104,9 @@ function PrimaryNav(): React.JSX.Element {
104
component: NavLink,
105
to: `/admin/${storeId}/models`,
106
icon: "models",
107
- "aria-current":
108
- location.pathname === `/admin/${storeId}/models`,
+ "aria-current": location.pathname.includes(
+ `/admin/${storeId}/models`,
109
+ ),
110
}
111
: null,
112
brandId
0 commit comments