mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-05 06:08:36 -05:00
When opening plex Oauth window, open an empty page then redirect to plex oauth (#127)
* feat(frontend): custom toast * refactor(frontend): move toast width styling to globals * feat(frontend): add loading spinner for browser popup
This commit is contained in:
@@ -55,7 +55,7 @@ const CoreApp: Omit<NextAppComponentType, 'origGetInitialProps'> = ({
|
||||
setCookie(null, 'locale', currentLocale, { path: '/' });
|
||||
}, [currentLocale]);
|
||||
|
||||
if (router.asPath === '/login') {
|
||||
if (router.pathname.match(/(login|setup)/)) {
|
||||
component = <Component {...pageProps} />;
|
||||
} else {
|
||||
component = (
|
||||
|
||||
Reference in New Issue
Block a user