mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix up project
This commit is contained in:
parent
6cbc470b0e
commit
bb1d91b46a
1 changed files with 4 additions and 2 deletions
|
@ -8,12 +8,14 @@
|
||||||
|
|
||||||
var self = this;
|
var self = this;
|
||||||
var credentials;
|
var credentials;
|
||||||
var key = 'servercredentials4';
|
var key = 'servercredentials3';
|
||||||
|
|
||||||
function ensure() {
|
function ensure() {
|
||||||
|
|
||||||
credentials = credentials || JSON.parse(appStorage.getItem(key) || '{}');
|
credentials = credentials || JSON.parse(appStorage.getItem(key) || '{}');
|
||||||
credentials.Servers = credentials.Servers || [];
|
credentials.Servers = credentials.Servers || credentials.servers || [];
|
||||||
|
|
||||||
|
credentials.servers = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
function get() {
|
function get() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue