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
ad44e1ec
Commit
ad44e1ec
authored
May 17, 2021
by
aniket-engg
Committed by
Aniket
May 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check if remixd activated before switching
parent
f8be36a5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
remix-ui-workspace.tsx
libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
+2
-0
No files found.
libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
View file @
ad44e1ec
...
@@ -272,11 +272,13 @@ export const Workspace = (props: WorkspaceProps) => {
...
@@ -272,11 +272,13 @@ export const Workspace = (props: WorkspaceProps) => {
const
remixdExplorer
=
{
const
remixdExplorer
=
{
hide
:
async
()
=>
{
hide
:
async
()
=>
{
if
(
props
.
fileManager
.
mode
===
'localhost'
)
{
await
setWorkspace
(
NO_WORKSPACE
)
await
setWorkspace
(
NO_WORKSPACE
)
props
.
fileManager
.
setMode
(
'browser'
)
props
.
fileManager
.
setMode
(
'browser'
)
setState
(
prevState
=>
{
setState
(
prevState
=>
{
return
{
...
prevState
,
hideRemixdExplorer
:
true
,
loadingLocalhost
:
false
}
return
{
...
prevState
,
hideRemixdExplorer
:
true
,
loadingLocalhost
:
false
}
})
})
}
},
},
show
:
()
=>
{
show
:
()
=>
{
props
.
fileManager
.
setMode
(
'localhost'
)
props
.
fileManager
.
setMode
(
'localhost'
)
...
...
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