diff --git a/src/app/business/block/bucket-detail/bucket-detail.component.ts b/src/app/business/block/bucket-detail/bucket-detail.component.ts index aab0bbd8..6be914aa 100644 --- a/src/app/business/block/bucket-detail/bucket-detail.component.ts +++ b/src/app/business/block/bucket-detail/bucket-detail.component.ts @@ -298,7 +298,7 @@ export class BucketDetailComponent implements OnInit { //Click on folder folderLink(file){ let folderKey = file.Key; - if(this.folderId == ""){ + if(this.folderId !== null && this.folderId !== ""){ this.folderId = folderKey; }else{ this.folderId = this.folderId + folderKey;