mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
resolve mixed folder detection
This commit is contained in:
parent
84c83ba967
commit
8a14efb22b
4 changed files with 40 additions and 37 deletions
|
@ -23,8 +23,13 @@
|
|||
}
|
||||
|
||||
function set(data) {
|
||||
credentials = data;
|
||||
store.setItem(key, JSON.stringify(get()));
|
||||
|
||||
if (data) {
|
||||
credentials = data;
|
||||
store.setItem(key, JSON.stringify(data));
|
||||
} else {
|
||||
self.clear();
|
||||
}
|
||||
}
|
||||
|
||||
self.clear = function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue