removed some logs

This commit is contained in:
John Balasis 2023-01-18 14:58:51 +00:00
parent c3b14054b7
commit af8437ef2f
2 changed files with 4 additions and 3 deletions

View File

@ -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>

View File

@ -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 = '';