mirror of https://github.com/portainer/portainer
refactor(settings): remove duplicate settings
parent
3f44925d7e
commit
b121f975fa
|
@ -3,11 +3,7 @@ function SettingsViewModel(data) {
|
||||||
this.BlackListedLabels = data.BlackListedLabels;
|
this.BlackListedLabels = data.BlackListedLabels;
|
||||||
this.AuthenticationMethod = data.AuthenticationMethod;
|
this.AuthenticationMethod = data.AuthenticationMethod;
|
||||||
this.LDAPSettings = data.LDAPSettings;
|
this.LDAPSettings = data.LDAPSettings;
|
||||||
this.OAuthSettings = data.OAuthSettings;
|
this.OAuthSettings = new OAuthSettingsViewModel(data.OAuthSettings);
|
||||||
this.ClientID = data.ClientID;
|
|
||||||
this.RedirectURI = data.RedirectURI;
|
|
||||||
this.Scopes = data.Scopes;
|
|
||||||
this.AuthorizationURI = data.AuthorizationURI;
|
|
||||||
this.AllowBindMountsForRegularUsers = data.AllowBindMountsForRegularUsers;
|
this.AllowBindMountsForRegularUsers = data.AllowBindMountsForRegularUsers;
|
||||||
this.AllowPrivilegedModeForRegularUsers = data.AllowPrivilegedModeForRegularUsers;
|
this.AllowPrivilegedModeForRegularUsers = data.AllowPrivilegedModeForRegularUsers;
|
||||||
this.SnapshotInterval = data.SnapshotInterval;
|
this.SnapshotInterval = data.SnapshotInterval;
|
||||||
|
|
Loading…
Reference in New Issue