Skip to content

Commit

Permalink
Merge pull request #365 from anvithks/bugFixesFaroe
Browse files Browse the repository at this point in the history
Fixed cloud volume listing issue.
  • Loading branch information
kumarashit authored Jun 28, 2020
2 parents 2664391 + 93ad30d commit 981c68f
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,8 @@ export class CloudBlockServiceComponent implements OnInit{
if(element.type == 'aws-file'){
this.selectedBackends.push(element);
}
this.backendId = this.selectedBackends[0]['id'];


});
this.backendId = this.selectedBackends[0]['id'];
if(this.backendId){
this.cloudBS.getVolumesByBackend(this.backendId).subscribe((res) => {
let vols = res.json() && res.json().volumes ? res.json().volumes : [];
Expand Down

0 comments on commit 981c68f

Please sign in to comment.