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
4f5fe95b
Unverified
Commit
4f5fe95b
authored
Mar 08, 2021
by
David Disu
Committed by
GitHub
Mar 08, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #946 from ethereum/fixRemixdWorkspace
Fix remixd workspace
parents
8d723522
0da27167
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
remixd-handle.js
apps/remix-ide/src/app/files/remixd-handle.js
+3
-3
remix-ui-workspace.tsx
libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
+1
-0
No files found.
apps/remix-ide/src/app/files/remixd-handle.js
View file @
4f5fe95b
...
@@ -38,7 +38,7 @@ export class RemixdHandle extends WebsocketPlugin {
...
@@ -38,7 +38,7 @@ export class RemixdHandle extends WebsocketPlugin {
deactivate
()
{
deactivate
()
{
if
(
super
.
socket
)
super
.
deactivate
()
if
(
super
.
socket
)
super
.
deactivate
()
this
.
call
(
'manager'
,
'deactivatePlugin'
,
'git'
)
this
.
appManager
.
deactivatePlugin
(
'git'
)
// plugin call doesn't work.. see issue https://github.com/ethereum/remix-plugin/issues/342
this
.
locahostProvider
.
close
((
error
)
=>
{
this
.
locahostProvider
.
close
((
error
)
=>
{
if
(
error
)
console
.
log
(
error
)
if
(
error
)
console
.
log
(
error
)
})
})
...
@@ -49,8 +49,8 @@ export class RemixdHandle extends WebsocketPlugin {
...
@@ -49,8 +49,8 @@ export class RemixdHandle extends WebsocketPlugin {
}
}
async
canceled
()
{
async
canceled
()
{
this
.
call
(
'manager'
,
'deactivatePlugin'
,
'git'
)
await
this
.
appManager
.
deactivatePlugin
(
'git'
)
// plugin call doesn't work.. see issue https://github.com/ethereum/remix-plugin/issues/342
this
.
call
(
'manager'
,
'deactivatePlugin'
,
'remixd'
)
await
this
.
appManager
.
deactivatePlugin
(
'remixd'
)
}
}
/**
/**
...
...
libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
View file @
4f5fe95b
...
@@ -88,6 +88,7 @@ export const Workspace = (props: WorkspaceProps) => {
...
@@ -88,6 +88,7 @@ export const Workspace = (props: WorkspaceProps) => {
props
.
localhost
.
event
.
register
(
'disconnected'
,
()
=>
{
props
.
localhost
.
event
.
register
(
'disconnected'
,
()
=>
{
remixdExplorer
.
hide
()
remixdExplorer
.
hide
()
setWorkspace
(
props
.
workspaces
.
length
>
0
?
props
.
workspaces
[
0
]
:
NO_WORKSPACE
)
})
})
if
(
props
.
initialWorkspace
)
{
if
(
props
.
initialWorkspace
)
{
...
...
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