This commit is contained in:
Cameron 2020-08-02 19:13:13 +01:00
parent b5c1cbb5b3
commit 404bdc12df
6 changed files with 11 additions and 15 deletions

View file

@ -51,7 +51,7 @@ import 'emby-itemscontainer';
}
return context.savedQueryKey;
}
};
const onViewStyleChange = () => {
const viewStyle = this.getCurrentViewStyle();
@ -66,7 +66,7 @@ import 'emby-itemscontainer';
}
itemsContainer.innerHTML = '';
}
};
const reloadItems = (page) => {
loading.show();
@ -165,12 +165,12 @@ import 'emby-itemscontainer';
autoFocuser.autoFocus(tabContent);
});
});
}
};
const updateFilterControls = (tabContent) => {
const query = getQuery(tabContent);
this.alphaPicker.value(query.NameStartsWithOrGreater);
}
};
const data = {};
let isLoading = false;
@ -229,7 +229,7 @@ import 'emby-itemscontainer';
onViewStyleChange();
reloadItems(tabContent);
});
}
};
initPage(tabContent);
onViewStyleChange();