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:
parent
3f44925d7e
commit
b121f975fa
1 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue