don't warn if required module

pull/1575/head
yann300 3 years ago
parent bdb9fae57d
commit 9b1f171385
  1. 3
      apps/remix-ide/src/app/files/fileManager.js

@ -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>

Loading…
Cancel
Save