Project

General

Profile

« Previous | Next » 

Revision 53632

fixed bug in interface form

View differences:

datasource-interface-form.component.ts
71 71
      this.data.splice(0,1);
72 72
      this.oldInterface = true;
73 73
      console.log(`received an interface!`);
74
      if (this.currentInterface.baseUrl && this.currentInterface.desiredCompatibilityLevel) {
74
      /*if (this.interfaceInfo && this.interfaceInfo.identified &&
75
          this.currentInterface.desiredCompatibilityLevel) {
75 76
        this.wasSaved = true;
76
      }
77
      }*/
77 78
    }
78 79

  
79 80
    /* initializes MyGroup parent component and the FormGroup */
......
129 130
          this.errorMessage = noServiceMessage;
130 131
        },
131 132
        () => {
133
          if (this.interfaceInfo && this.interfaceInfo.identified &&
134
              this.currentInterface && this.currentInterface.desiredCompatibilityLevel) {
135
            this.wasSaved = true;
136
          }
132 137
          if ( this.currentInterface && this.currentInterface.accessParams && this.currentInterface.accessParams['set'] ) {
133 138
            if ( this.valsetList.some( x => x === this.currentInterface.accessParams['set']) ) {
134 139
              this.patchData.next({selectValidationSet:this.currentInterface.accessParams['set']});

Also available in: Unified diff