From 782cfd427a650887a43c78c90cef74869277e7e2 Mon Sep 17 00:00:00 2001 From: Craig Bassett Date: Fri, 25 Jun 2021 10:59:43 -0500 Subject: [PATCH] feat: allow custom gcode to run with thermal presets Signed-off-by: Craig Bassett --- .../PresetDialog.vue} | 11 ++++++++++ .../PresetSettings.vue} | 9 ++++---- .../widgets/thermals/TemperatureCard.vue | 22 ++++++++++++------- src/locales/en.yaml | 1 + src/store/config/types.ts | 1 + src/views/Settings.vue | 6 ++--- 6 files changed, 34 insertions(+), 16 deletions(-) rename src/components/settings/{TempPresetDialog.vue => presets/PresetDialog.vue} (92%) rename src/components/settings/{TemperaturePresetSettings.vue => presets/PresetSettings.vue} (95%) diff --git a/src/components/settings/TempPresetDialog.vue b/src/components/settings/presets/PresetDialog.vue similarity index 92% rename from src/components/settings/TempPresetDialog.vue rename to src/components/settings/presets/PresetDialog.vue index 1a41a47dbf..6ba61c6a03 100644 --- a/src/components/settings/TempPresetDialog.vue +++ b/src/components/settings/presets/PresetDialog.vue @@ -82,6 +82,17 @@ + + + + + {{ $t('app.general.btn.cancel') }} diff --git a/src/components/settings/TemperaturePresetSettings.vue b/src/components/settings/presets/PresetSettings.vue similarity index 95% rename from src/components/settings/TemperaturePresetSettings.vue rename to src/components/settings/presets/PresetSettings.vue index e01e208a00..7ab3aff48b 100644 --- a/src/components/settings/TemperaturePresetSettings.vue +++ b/src/components/settings/presets/PresetSettings.vue @@ -49,12 +49,12 @@ - + > @@ -62,16 +62,15 @@