Skip to content

Commit

Permalink
[UPDATED]-Added .rtf to the list
Browse files Browse the repository at this point in the history
  • Loading branch information
ndasanayaka committed Jan 17, 2024
1 parent 370bda2 commit e0dcb13
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", "csv","rtx"].includes(extension) )
return (item.type === "file" && ["txt", "out", "err", "json", "xml", "pref", "csv","rtx","rtf"].includes(extension) )
},
async viewItem(item){
console.log("reading:" + item.path)
Expand Down

0 comments on commit e0dcb13

Please sign in to comment.