mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Update dependencies (#3123)
* Update localforage, remove query-string * Update fontawesome and flag-icons * Update formatjs * Update axios and videojs * Update apollo client and graphql * Update bootstrap and react * Update polyfills * Update vite * Update ESLint * Update stylelint * Update configs * Rebuild yarn.lock
This commit is contained in:
@@ -18,7 +18,7 @@ import { ManualStateContext } from "./Help/context";
|
||||
import { SettingsButton } from "./SettingsButton";
|
||||
import {
|
||||
faBars,
|
||||
faChartBar,
|
||||
faChartColumn,
|
||||
faFilm,
|
||||
faHeart,
|
||||
faImage,
|
||||
@@ -220,10 +220,10 @@ export const MainNavbar: React.FC = () => {
|
||||
|
||||
const pathname = location.pathname.replace(/\/$/, "");
|
||||
let newPath = newPathsList.includes(pathname) ? `${pathname}/new` : null;
|
||||
if (newPath != null) {
|
||||
if (newPath !== null) {
|
||||
let queryParam = new URLSearchParams(location.search).get("q");
|
||||
if (queryParam != null) {
|
||||
newPath += "?name=" + encodeURIComponent(queryParam);
|
||||
if (queryParam) {
|
||||
newPath += "?q=" + encodeURIComponent(queryParam);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -296,7 +296,7 @@ export const MainNavbar: React.FC = () => {
|
||||
className="minimal d-flex align-items-center h-100"
|
||||
title={intl.formatMessage({ id: "statistics" })}
|
||||
>
|
||||
<Icon icon={faChartBar} />
|
||||
<Icon icon={faChartColumn} />
|
||||
</Button>
|
||||
</NavLink>
|
||||
<NavLink
|
||||
|
||||
Reference in New Issue
Block a user