mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
please mr linter
This commit is contained in:
parent
2e58ce0d18
commit
24f6d88308
1 changed files with 2 additions and 3 deletions
|
@ -429,8 +429,7 @@ class AppRouter {
|
||||||
if (data.status === 401) {
|
if (data.status === 401) {
|
||||||
console.debug('Invalid stored credentials, redirecting to login');
|
console.debug('Invalid stored credentials, redirecting to login');
|
||||||
appRouter.showLocalLogin(apiClient.serverId());
|
appRouter.showLocalLogin(apiClient.serverId());
|
||||||
}
|
} else if (data.status === 403) {
|
||||||
else if (data.status === 403) {
|
|
||||||
if (data.errorCode === 'ParentalControl') {
|
if (data.errorCode === 'ParentalControl') {
|
||||||
const isCurrentAllowed = this.currentRouteInfo ? (this.currentRouteInfo.route.anonymous || this.currentRouteInfo.route.startup) : true;
|
const isCurrentAllowed = this.currentRouteInfo ? (this.currentRouteInfo.route.anonymous || this.currentRouteInfo.route.startup) : true;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue