mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update collection grouping setting
This commit is contained in:
parent
e4417bff1a
commit
0bfda28bec
5 changed files with 8 additions and 8 deletions
|
@ -33,6 +33,7 @@
|
|||
ApiClient.getServerConfiguration().then(function (config) {
|
||||
|
||||
config.EnableFolderView = form.querySelector('.chkFolderView').checked;
|
||||
config.EnableGroupingIntoCollections = form.querySelector('.chkGroupMoviesIntoCollections').checked;
|
||||
ApiClient.updateServerConfiguration(config).then(Dashboard.processServerConfigurationUpdateResult);
|
||||
});
|
||||
|
||||
|
@ -43,6 +44,7 @@
|
|||
function loadData() {
|
||||
ApiClient.getServerConfiguration().then(function (config) {
|
||||
view.querySelector('.chkFolderView').checked = config.EnableFolderView;
|
||||
view.querySelector('.chkGroupMoviesIntoCollections').checked = config.EnableGroupingIntoCollections;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue