Project

General

Profile

« Previous | Next » 

Revision 62553

Added by John Balasis about 1 year ago

removed some logs

View differences:

modules/uoa-repository-dashboard-gui/trunk/src/app/shared/reusablecomponents/sources-forms/datasource-new-interface-form.component.html
58 58

  
59 59
      <div class="uk-margin-medium-top">
60 60
        <label class="">Current Compatibility Level</label>
61
        <div>{{repoInterfaceForm.get('compatibilityLevel').value ? this.compClasses[repoInterfaceForm.get('compatibilityLevel').value] : 'not available' }}</div>
61
        <div>{{(repoInterfaceForm.get('compatibilityLevel').value && repoInterfaceForm.get('compatibilityLevel').value !== 'UNKNOWN')
62
          ? this.compClasses[repoInterfaceForm.get('compatibilityLevel').value] : 'not available' }}</div>
62 63
      </div>
63 64

  
64 65
      <div class="uk-margin-medium-top">
......
73 74

  
74 75
    </div>
75 76

  
76
    <pre>{{repoInterfaceForm.value | json}}</pre>
77
<!--    <pre>{{repoInterfaceForm.value | json}}</pre>-->
77 78

  
78 79
  </div>
79 80
</div>
modules/uoa-repository-dashboard-gui/trunk/src/app/shared/reusablecomponents/sources-forms/datasource-new-interface-form.component.ts
77 77
        this.repoInterfaceForm.get('compatibilityLevelOverride').setValue(this.currentInterface.compatibilityOverride);
78 78
        this.repoService.getInterfaceDesiredCompatibilityLevel(this.currentInterface.datasource, this.currentInterface.id).subscribe(
79 79
          res => {
80
            console.log(res);
81 80
            if (res !== null) {
82 81
              this.repoInterfaceForm.get('desiredCompatibilityLevel').setValue(res['desiredCompatibilityLevel']);
83 82
            }
......
191 190
  saveInterface() {
192 191
    this.errorMessage = '';
193 192
    this.successMessage = '';
193
    console.log('saving interface: ' + this.currentInterface?.id);
194 194
    if (this.formIsValid()) {
195 195
      const baseurl = this.repoInterfaceForm.get('baseurl').value;
196 196
      let valset = '';

Also available in: Unified diff