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