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
9b1f1713
Commit
9b1f1713
authored
Oct 28, 2021
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't warn if required module
parent
bdb9fae5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
fileManager.js
apps/remix-ide/src/app/files/fileManager.js
+2
-1
No files found.
apps/remix-ide/src/app/files/fileManager.js
View file @
9b1f1713
...
...
@@ -506,7 +506,8 @@ class FileManager extends Plugin {
async
setFileContent
(
path
,
content
)
{
if
(
this
.
currentRequest
)
{
const
canCall
=
await
this
.
askUserPermission
(
'writeFile'
,
''
)
if
(
canCall
)
{
const
required
=
this
.
appManager
.
isRequired
(
this
.
currentRequest
.
from
)
if
(
canCall
&&
!
required
)
{
// inform the user about modification after permission is granted and even if permission was saved before
toaster
(
yo
`
<div>
...
...
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