@ -563,7 +563,6 @@ class FileManager extends Plugin {
if (file.startsWith('browser')) {
return this._deps.filesProviders.browser
}
const provider = this._deps.filesProviders.workspace
return this._deps.filesProviders.workspace
@ -81,7 +81,7 @@ class WorkspaceFileProvider extends FileProvider {
createDefaultWorkspace () {
this.workspace = 'workspace_default'
this.workspace = 'generated_workspace'
this.event.trigger('create_workspace_default', [this.workspace])
@ -175,10 +175,12 @@ module.exports = class Filepanel extends ViewPlugin {
async createNewFile () {
if (!this.workspaceExists()) this.createWorkspace('generated_workspace')
return await this.request.createNewFile()
async uploadFile (event) {
return await this.request.uploadFile(event)