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
726cbb21
Commit
726cbb21
authored
Jun 04, 2020
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix folder delete update in ui
parent
2ec08850
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
file-explorer.js
apps/remix-ide/src/app/files/file-explorer.js
+15
-4
No files found.
apps/remix-ide/src/app/files/file-explorer.js
View file @
726cbb21
...
@@ -241,9 +241,14 @@ function fileExplorer (localRegistry, files, menuItems) {
...
@@ -241,9 +241,14 @@ function fileExplorer (localRegistry, files, menuItems) {
if
(
!
removeFolder
)
{
if
(
!
removeFolder
)
{
tooltip
(
`failed to remove
${
key
}
. Make sure the directory is empty before removing it.`
)
tooltip
(
`failed to remove
${
key
}
. Make sure the directory is empty before removing it.`
)
}
else
{
}
else
{
const
{
type
}
=
fileManager
.
currentFileProvider
()
const
provider
=
fileManager
.
currentFileProvider
()
self
.
updatePath
(
type
)
if
(
provider
)
{
const
{
type
}
=
provider
return
self
.
updatePath
(
type
)
}
self
.
updatePath
(
'browser'
)
}
}
},
()
=>
{})
},
()
=>
{})
}
}
...
@@ -287,8 +292,14 @@ function fileExplorer (localRegistry, files, menuItems) {
...
@@ -287,8 +292,14 @@ function fileExplorer (localRegistry, files, menuItems) {
if
(
!
removeFile
)
{
if
(
!
removeFile
)
{
tooltip
(
`Failed to remove file
${
key
}
.`
)
tooltip
(
`Failed to remove file
${
key
}
.`
)
}
else
{
}
else
{
const
{
type
}
=
fileManager
.
currentFileProvider
()
const
provider
=
fileManager
.
currentFileProvider
()
self
.
updatePath
(
type
)
if
(
provider
)
{
const
{
type
}
=
provider
return
self
.
updatePath
(
type
)
}
self
.
updatePath
(
'browser'
)
}
}
},
},
()
=>
{}
()
=>
{}
...
...
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