@ -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
@ -80,8 +80,8 @@ class WorkspaceFileProvider extends FileProvider {
return path.replace(this.workspacesPath + '/' + this.workspace + '/', '')
createDefaultWorkspace() {
this.workspace = 'workspace_default'
createDefaultWorkspace () {
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)