removed some logs
This commit is contained in:
parent
c3b14054b7
commit
af8437ef2f
|
@ -58,7 +58,8 @@
|
|||
|
||||
<div class="uk-margin-medium-top">
|
||||
<label class="">Current Compatibility Level</label>
|
||||
<div>{{repoInterfaceForm.get('compatibilityLevel').value ? this.compClasses[repoInterfaceForm.get('compatibilityLevel').value] : 'not available' }}</div>
|
||||
<div>{{(repoInterfaceForm.get('compatibilityLevel').value && repoInterfaceForm.get('compatibilityLevel').value !== 'UNKNOWN')
|
||||
? this.compClasses[repoInterfaceForm.get('compatibilityLevel').value] : 'not available' }}</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin-medium-top">
|
||||
|
@ -73,7 +74,7 @@
|
|||
|
||||
</div>
|
||||
|
||||
<pre>{{repoInterfaceForm.value | json}}</pre>
|
||||
<!-- <pre>{{repoInterfaceForm.value | json}}</pre>-->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -77,7 +77,6 @@ export class DatasourceNewInterfaceFormComponent implements OnInit {
|
|||
this.repoInterfaceForm.get('compatibilityLevelOverride').setValue(this.currentInterface.compatibilityOverride);
|
||||
this.repoService.getInterfaceDesiredCompatibilityLevel(this.currentInterface.datasource, this.currentInterface.id).subscribe(
|
||||
res => {
|
||||
console.log(res);
|
||||
if (res !== null) {
|
||||
this.repoInterfaceForm.get('desiredCompatibilityLevel').setValue(res['desiredCompatibilityLevel']);
|
||||
}
|
||||
|
@ -191,6 +190,7 @@ export class DatasourceNewInterfaceFormComponent implements OnInit {
|
|||
saveInterface() {
|
||||
this.errorMessage = '';
|
||||
this.successMessage = '';
|
||||
console.log('saving interface: ' + this.currentInterface?.id);
|
||||
if (this.formIsValid()) {
|
||||
const baseurl = this.repoInterfaceForm.get('baseurl').value;
|
||||
let valset = '';
|
||||
|
|
Loading…
Reference in New Issue