Project

General

Profile

« Previous | Next » 

Revision 56695

[Library|newlinking]

Merge trunk to Branch rev 56554:56686

View differences:

software.service.ts
119 119
    }
120 120

  
121 121
    if(data[3] != null) {
122
      if(data[3].hasOwnProperty("result")) {
123
        this.softwareInfo.deletedByInferenceIds = [];
124
        let length = Array.isArray(data[3]['result']) ? data[3]['result'].length : 1;
125

  
126
        for(let i=0; i<length; i++) {
127
          let result = Array.isArray(data[3]['result']) ? data[3]['result'][i] : data[3]['result'];
128
          this.softwareInfo.deletedByInferenceIds.push(result.objidentifier);
129
        }
130
      }
131

  
122 132
      if(data[3].hasOwnProperty("instance")) {
123 133
        this.softwareInfo.hostedBy_collectedFrom = new Array<{  "downloadName": string, "downloadUrl": string[],
124 134
                                                                "collectedName": string, "collectedId": string,

Also available in: Unified diff