refactor(settings): remove duplicate settings

pull/2749/head
Chaim Lev Ari 2019-01-16 17:38:07 +02:00
parent 3f44925d7e
commit b121f975fa
1 changed files with 1 additions and 5 deletions

View File

@ -3,11 +3,7 @@ function SettingsViewModel(data) {
this.BlackListedLabels = data.BlackListedLabels;
this.AuthenticationMethod = data.AuthenticationMethod;
this.LDAPSettings = data.LDAPSettings;
this.OAuthSettings = data.OAuthSettings;
this.ClientID = data.ClientID;
this.RedirectURI = data.RedirectURI;
this.Scopes = data.Scopes;
this.AuthorizationURI = data.AuthorizationURI;
this.OAuthSettings = new OAuthSettingsViewModel(data.OAuthSettings);
this.AllowBindMountsForRegularUsers = data.AllowBindMountsForRegularUsers;
this.AllowPrivilegedModeForRegularUsers = data.AllowPrivilegedModeForRegularUsers;
this.SnapshotInterval = data.SnapshotInterval;