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