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
60f8c8f2
Unverified
Commit
60f8c8f2
authored
May 20, 2019
by
yann300
Committed by
GitHub
May 20, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1990 from ethereum/showIconInTab
Add icon to tab
parents
ebf52174
5edddccf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
tab-proxy.js
src/app/panels/tab-proxy.js
+4
-3
No files found.
src/app/panels/tab-proxy.js
View file @
60f8c8f2
...
...
@@ -59,7 +59,8 @@ export class TabProxy {
()
=>
{
this
.
event
.
emit
(
'closeApp'
,
name
)
this
.
appManager
.
deactivateOne
(
name
)
}
},
profile
.
icon
)
this
.
switchTab
(
name
)
}
...
...
@@ -105,7 +106,7 @@ export class TabProxy {
this
.
_view
.
filetabs
.
activateTab
(
name
)
}
addTab
(
name
,
title
,
switchTo
,
close
,
kind
)
{
addTab
(
name
,
title
,
switchTo
,
close
,
icon
)
{
if
(
this
.
_handlers
[
name
])
return
var
slash
=
name
.
split
(
'/'
)
...
...
@@ -115,7 +116,7 @@ export class TabProxy {
this
.
_view
.
filetabs
.
addTab
({
id
:
name
,
title
,
icon
:
''
,
icon
,
tooltip
:
name
})
this
.
_handlers
[
name
]
=
{
switchTo
,
close
}
...
...
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