Skip to content

Commit

Permalink
[UPDATED]- Added view file oprion to csv files
Browse files Browse the repository at this point in the history
  • Loading branch information
ndasanayaka committed Jan 15, 2024
1 parent eb8d3f2 commit 2ef6c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/vuetify-file-browser/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ export default {
},
canView(item){
let extension = item.basename.split(".").pop()
return (item.type === "file" && ["txt", "out", "err", "json", "xml", "pref"].includes(extension) )
return (item.type === "file" && ["txt", "out", "err", "json", "xml", "pref", "csv"].includes(extension) )
},
async viewItem(item){
console.log("reading:" + item.path)
Expand Down

0 comments on commit 2ef6c1a

Please sign in to comment.