Case insensitive search for list objects (#1077)

Signed-off-by: Lenin Alevski <alevsk.8772@gmail.com>
This commit is contained in:
Lenin Alevski
2021-09-22 14:31:01 -07:00
committed by GitHub
parent 401a051b8e
commit 8d203f4797

View File

@@ -794,7 +794,8 @@ const ListObjects = ({
if (filterObjects === "") {
return true;
} else {
if (b.name.indexOf(filterObjects) >= 0) {
const objectName = b.name.toLowerCase();
if (objectName.indexOf(filterObjects.toLowerCase()) >= 0) {
return true;
} else {
return false;