From a25c2ec28d1c547247d62655018751692566f0cf Mon Sep 17 00:00:00 2001 From: Anvith KS Date: Fri, 7 Jan 2022 14:25:52 +0530 Subject: [PATCH] Added fix for foldername prefix with null on fresh SODA installation. --- src/app/business/block/bucket-detail/bucket-detail.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;