diff --git a/src/Analysim.Web/ClientApp/src/app/projects/project-file-explorer/project-file-explorer.component.ts b/src/Analysim.Web/ClientApp/src/app/projects/project-file-explorer/project-file-explorer.component.ts index 737ab9d2..3ff2c442 100644 --- a/src/Analysim.Web/ClientApp/src/app/projects/project-file-explorer/project-file-explorer.component.ts +++ b/src/Analysim.Web/ClientApp/src/app/projects/project-file-explorer/project-file-explorer.component.ts @@ -507,7 +507,9 @@ export class ProjectFileExplorerComponent implements OnInit { ) this.filePreview = true this.dataBrowserURL += file.uri; - this.csvFile = file; + if (file.extension.toLowerCase() == ".csv") { + this.csvFile = file; + } console.log(this.dataBrowserURL); }