1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

refactor(settings): remove duplicate settings

This commit is contained in:
Chaim Lev Ari 2019-01-16 17:38:07 +02:00
parent 3f44925d7e
commit b121f975fa

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;