File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/app/modules/storage-management Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export class Repository {
72
72
public basedir : string = null ;
73
73
public policy : RepositoryPolicyEnum = RepositoryPolicyEnum . RELEASE ;
74
74
public implementation = 'file-system' ;
75
- public layout = 'Maven 2' ; // These are dynamic.
75
+ public layout : RepositoryLayoutEnum = RepositoryLayoutEnum . MAVEN2 ; // These are dynamic.
76
76
public type : RepositoryTypeEnum = null ;
77
77
public secured = false ;
78
78
public status : RepositoryStatusEnum = RepositoryStatusEnum . IN_SERVICE ;
@@ -91,7 +91,7 @@ export class Repository {
91
91
( proxyConfiguration : ProxyConfiguration ) => {
92
92
// We need to send `null` here or backend form validation will cause issues.
93
93
let data = null ;
94
- if ( proxyConfiguration . hasData ( ) ) {
94
+ if ( proxyConfiguration != null && proxyConfiguration . hasData ( ) ) {
95
95
data = proxyConfiguration ;
96
96
}
97
97
return data ;
You can’t perform that action at this time.
0 commit comments