Commit 9d46ffa7 authored by ioedeveloper's avatar ioedeveloper

Fix path

parent dcb29822
...@@ -71,9 +71,9 @@ module.exports = { ...@@ -71,9 +71,9 @@ module.exports = {
find: find, find: find,
getPathIcon (path) { getPathIcon (path) {
return path.endsWith('.txt') return path.endsWith('.txt')
? 'far fa-file-alt' : file.path.endsWith('.sol') ? 'far fa-file-alt' : path.endsWith('.sol')
? 'fak fa-solidity-mono' : file.path.endsWith('.js') ? 'fak fa-solidity-mono' : path.endsWith('.js')
? 'fab fa-js' : file.path.endsWith('.json') ? 'fab fa-js' : path.endsWith('.json')
? 'fas fa-brackets-curly' : 'far fa-file' ? 'fas fa-brackets-curly' : 'far fa-file'
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment