mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix nesting
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
623524549a
commit
9856a83694
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ import Dashboard from '../../utils/dashboard';
|
||||||
|
|
||||||
function onSubmit() {
|
function onSubmit() {
|
||||||
const form = this;
|
const form = this;
|
||||||
return (loading.show(), ApiClient.getServerConfiguration().then(function(config) {
|
loading.show();
|
||||||
|
ApiClient.getServerConfiguration().then(function(config) {
|
||||||
config.PreferredMetadataLanguage = form.querySelector('#selectLanguage').value;
|
config.PreferredMetadataLanguage = form.querySelector('#selectLanguage').value;
|
||||||
config.MetadataCountryCode = form.querySelector('#selectCountry').value;
|
config.MetadataCountryCode = form.querySelector('#selectCountry').value;
|
||||||
ApiClient.updateServerConfiguration(config).then(Dashboard.processServerConfigurationUpdateResult);
|
ApiClient.updateServerConfiguration(config).then(Dashboard.processServerConfigurationUpdateResult);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue