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
0803236b
Unverified
Commit
0803236b
authored
Mar 17, 2021
by
yann300
Committed by
GitHub
Mar 17, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #981 from ethereum/carat
Remove carat
parents
ae58533e
b4388d8b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
file-explorer-menu.tsx
libs/remix-ui/file-explorer/src/lib/file-explorer-menu.tsx
+1
-1
tree-view-item.tsx
...ix-ui/tree-view/src/lib/tree-view-item/tree-view-item.tsx
+1
-1
No files found.
libs/remix-ui/file-explorer/src/lib/file-explorer-menu.tsx
View file @
0803236b
...
@@ -46,7 +46,7 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => {
...
@@ -46,7 +46,7 @@ export const FileExplorerMenu = (props: FileExplorerMenuProps) => {
return
(
return
(
<>
<>
<
span
className=
'remixui_label'
title=
{
props
.
title
}
data
-
path=
{
props
.
title
}
style=
{
{
fontWeight
:
'bold'
}
}
>
{
props
.
title
}
</
span
>
<
span
className=
'remixui_label'
title=
{
props
.
title
}
data
-
path=
{
props
.
title
}
style=
{
{
fontWeight
:
'bold'
}
}
>
{
props
.
title
}
</
span
>
<
span
className=
"
remixui_menu
"
>
{
<
span
className=
"
pl-2
"
>
{
state
.
menuItems
.
map
(({
action
,
title
,
icon
},
index
)
=>
{
state
.
menuItems
.
map
(({
action
,
title
,
icon
},
index
)
=>
{
if
(
action
===
'uploadFile'
)
{
if
(
action
===
'uploadFile'
)
{
return
(
return
(
...
...
libs/remix-ui/tree-view/src/lib/tree-view-item/tree-view-item.tsx
View file @
0803236b
...
@@ -14,7 +14,7 @@ export const TreeViewItem = (props: TreeViewItemProps) => {
...
@@ -14,7 +14,7 @@ export const TreeViewItem = (props: TreeViewItemProps) => {
return
(
return
(
<
li
ref=
{
innerRef
}
key=
{
`treeViewLi${id}`
}
data
-
id=
{
`treeViewLi${id}`
}
className=
'li_tv'
{
...
otherProps
}
>
<
li
ref=
{
innerRef
}
key=
{
`treeViewLi${id}`
}
data
-
id=
{
`treeViewLi${id}`
}
className=
'li_tv'
{
...
otherProps
}
>
<
div
key=
{
`treeViewDiv${id}`
}
data
-
id=
{
`treeViewDiv${id}`
}
className=
{
`d-flex flex-row align-items-center ${labelClass}`
}
onClick=
{
()
=>
!
controlBehaviour
&&
setIsExpanded
(
!
isExpanded
)
}
>
<
div
key=
{
`treeViewDiv${id}`
}
data
-
id=
{
`treeViewDiv${id}`
}
className=
{
`d-flex flex-row align-items-center ${labelClass}`
}
onClick=
{
()
=>
!
controlBehaviour
&&
setIsExpanded
(
!
isExpanded
)
}
>
{
children
?
<
div
className=
{
isExpanded
?
`px-1 ${iconY} caret caret_tv`
:
`px-1 ${iconX} caret caret_tv`
}
style=
{
{
visibility
:
children
?
'visible'
:
'hidden'
}
}
></
div
>
:
icon
?
<
div
className=
{
`pr-3 pl-1 ${icon} caret caret_tv`
}
></
div
>
:
null
}
{
c
ontrolBehaviour
?
null
:
c
hildren
?
<
div
className=
{
isExpanded
?
`px-1 ${iconY} caret caret_tv`
:
`px-1 ${iconX} caret caret_tv`
}
style=
{
{
visibility
:
children
?
'visible'
:
'hidden'
}
}
></
div
>
:
icon
?
<
div
className=
{
`pr-3 pl-1 ${icon} caret caret_tv`
}
></
div
>
:
null
}
<
span
className=
'w-100 pl-1'
>
<
span
className=
'w-100 pl-1'
>
{
label
}
{
label
}
</
span
>
</
span
>
...
...
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