Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
9d46ffa7
Commit
9d46ffa7
authored
Feb 18, 2021
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix path
parent
dcb29822
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
helper.js
apps/remix-ide/src/lib/helper.js
+3
-3
No files found.
apps/remix-ide/src/lib/helper.js
View file @
9d46ffa7
...
@@ -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'
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment