From 5c09a7ecb724121250beb091932a818c8dc8645b Mon Sep 17 00:00:00 2001 From: diana Date: Wed, 20 Jan 2021 22:09:53 +0100 Subject: [PATCH] fixing file navigation --- ui/src/components/services.js | 3 +-- ui/src/views/BucketContent.vue | 10 ++++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ui/src/components/services.js b/ui/src/components/services.js index 2baa9230..98fe5ec6 100644 --- a/ui/src/components/services.js +++ b/ui/src/components/services.js @@ -210,7 +210,7 @@ export default { }, getBucketFilesCall(params, callBackHandler){ - let stream = this.minioClient.listObjects(params.name, params.prefix, true,) + let stream = this.minioClient.listObjectsV2(params.name, params.prefix, true) var funct = { err : "", files: [] @@ -218,7 +218,6 @@ export default { stream.on('data', function(obj) { funct.files.push(obj); - }) stream.on('error', function(err) { diff --git a/ui/src/views/BucketContent.vue b/ui/src/views/BucketContent.vue index 80a6b240..cefe58b9 100644 --- a/ui/src/views/BucketContent.vue +++ b/ui/src/views/BucketContent.vue @@ -160,7 +160,7 @@