diff --git a/public/self/dataset_preview.js b/public/self/dataset_preview.js index 37773f4c1..3c9ded0aa 100644 --- a/public/self/dataset_preview.js +++ b/public/self/dataset_preview.js @@ -626,7 +626,7 @@ function showfilelist(){ console.log(tmpIndex) if(tmpIndex != -1){ fname = labeltastresult[i].pic_image_field.substring(tmpIndex + 1); - fname = fname.substring(fname.indexOf('/')); + fname = fname.substring(fname.indexOf('/')+1); } }