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
b0f2b5f4
Unverified
Commit
b0f2b5f4
authored
Jul 16, 2019
by
Liana Husikyan
Committed by
GitHub
Jul 16, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2193 from ethereum/fixClickOnHome
Force show Home when appManager ensure its activation
parents
2334d98c
23264791
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
tab-proxy.js
src/app/panels/tab-proxy.js
+8
-0
remixAppManager.js
src/remixAppManager.js
+1
-1
No files found.
src/app/panels/tab-proxy.js
View file @
b0f2b5f4
...
...
@@ -69,6 +69,14 @@ export class TabProxy {
appManager
.
event
.
on
(
'deactivate'
,
(
name
)
=>
{
this
.
removeTab
(
name
)
})
appManager
.
event
.
on
(
'ensureActivated'
,
(
name
)
=>
{
if
(
name
===
'home'
)
{
// if someone force activation of home, we switch to it
this
.
event
.
emit
(
'switchApp'
,
name
)
this
.
_view
.
filetabs
.
activateTab
(
name
)
}
})
}
switchTab
(
tabName
)
{
...
...
src/remixAppManager.js
View file @
b0f2b5f4
...
...
@@ -6,7 +6,7 @@ import { PermissionHandler } from './app/ui/persmission-handler'
const
requiredModules
=
[
// services + layout views + system views
'compilerArtefacts'
,
'compilerMetadata'
,
'contextualListener'
,
'sourceHighlighters'
,
'offsetToLineColumnConverter'
,
'network'
,
'theme'
,
'fileManager'
,
'contentImport'
,
'mainPanel'
,
'hiddenPanel'
,
'sidePanel'
,
'menuicons'
,
'fileExplorers'
,
'terminal'
,
'
home'
,
'
settings'
,
'pluginManager'
]
'terminal'
,
'settings'
,
'pluginManager'
]
export
class
RemixAppManager
extends
PluginEngine
{
...
...
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