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
7fba5047
Unverified
Commit
7fba5047
authored
Feb 12, 2019
by
yann300
Committed by
GitHub
Feb 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update swap-panel-component.js
parent
83e4561f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
swap-panel-component.js
src/app/components/swap-panel-component.js
+4
-4
No files found.
src/app/components/swap-panel-component.js
View file @
7fba5047
...
@@ -22,10 +22,10 @@ class SwapPanelComponent {
...
@@ -22,10 +22,10 @@ class SwapPanelComponent {
})
})
this
.
store
.
event
.
on
(
'activate'
,
(
name
)
=>
{
this
.
store
.
event
.
on
(
'activate'
,
(
name
)
=>
{
let
item
=
this
.
store
.
get
(
name
)
const
{
profile
,
api
}
=
this
.
store
.
get
(
name
)
if
(((
item
.
profile
.
prefferedLocation
===
this
.
name
)
||
(
!
item
.
profile
.
prefferedLocation
&&
opt
.
default
))
&&
if
(((
profile
.
prefferedLocation
===
this
.
name
)
||
(
!
profile
.
prefferedLocation
&&
opt
.
default
))
&&
item
.
profile
.
icon
&&
item
.
api
.
render
&&
typeof
item
.
api
.
render
===
'function'
)
{
profile
.
icon
&&
api
.
render
&&
typeof
api
.
render
===
'function'
)
{
this
.
add
(
name
,
item
.
api
.
render
())
this
.
add
(
name
,
api
.
render
())
}
}
})
})
...
...
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