diff --git a/src/components/widgets/filesystem/FileSystemBrowser.vue b/src/components/widgets/filesystem/FileSystemBrowser.vue index b30254bac2..9e29094e9b 100644 --- a/src/components/widgets/filesystem/FileSystemBrowser.vue +++ b/src/components/widgets/filesystem/FileSystemBrowser.vue @@ -503,7 +503,7 @@ export default class FileSystemBrowser extends Mixins(UtilsMixin) { } createFile (name: string) { - const file = new File([''], name) + const file = new File([`# ${name}\n`], name) this.$emit('upload-file', file, this.currentRoot, this.trimmedPath) } diff --git a/src/store/socket/actions.ts b/src/store/socket/actions.ts index 733d2034c3..73107c87ab 100644 --- a/src/store/socket/actions.ts +++ b/src/store/socket/actions.ts @@ -115,16 +115,18 @@ export const actions: ActionTree = { async onServerInfo ({ commit }, payload) { // This payload should return a list of enabled plugins. - const plugins = [ - 'power', - 'update_manager' - ] if ( payload.plugins && payload.plugins.length > 0 ) { commit('onPlugins', payload.plugins) - plugins.forEach((plugin) => { + + // Init any plugins we need. + const pluginsToInit = [ + 'power', + 'update_manager' + ] + pluginsToInit.forEach((plugin) => { if (payload.plugins.includes(plugin)) { switch (plugin) { case 'power': diff --git a/todo.md b/todo.md index f32aa39555..e31481b988 100644 --- a/todo.md +++ b/todo.md @@ -1,8 +1,11 @@ # TODO [fluidd] ## Next Up -- click on slider position won't update value -- add log downloads to printer page / elsewhere when not in error state +- draggable panels +- z-offset configuration + sheet config +- upload progress indicator +- add ability to delete bed mesh profile +- - update panel collapse so these are remembered per instance - stage 1 themes (pick a specific theme (red, green etc..) - docker image