From 032e8bb7ee14cd618d835f7b47fb93d9623aa5ea Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sat, 29 Jul 2023 23:57:38 +0200 Subject: [PATCH 1/2] fix: fix issue with create/edit presets and refactor SettingsPresetsTab.vue Signed-off-by: Stefan Dej --- .../settings/Presets/PresetsEntry.vue | 56 +++ .../settings/Presets/PresetsEntryCooldown.vue | 26 ++ .../settings/Presets/PresetsForm.vue | 179 ++++++++++ .../settings/Presets/PresetsFormCooldown.vue | 52 +++ .../settings/SettingsPresetsTab.vue | 319 ++---------------- 5 files changed, 339 insertions(+), 293 deletions(-) create mode 100644 src/components/settings/Presets/PresetsEntry.vue create mode 100644 src/components/settings/Presets/PresetsEntryCooldown.vue create mode 100644 src/components/settings/Presets/PresetsForm.vue create mode 100644 src/components/settings/Presets/PresetsFormCooldown.vue diff --git a/src/components/settings/Presets/PresetsEntry.vue b/src/components/settings/Presets/PresetsEntry.vue new file mode 100644 index 000000000..1b9842555 --- /dev/null +++ b/src/components/settings/Presets/PresetsEntry.vue @@ -0,0 +1,56 @@ + + + diff --git a/src/components/settings/Presets/PresetsEntryCooldown.vue b/src/components/settings/Presets/PresetsEntryCooldown.vue new file mode 100644 index 000000000..c57f7a0b0 --- /dev/null +++ b/src/components/settings/Presets/PresetsEntryCooldown.vue @@ -0,0 +1,26 @@ + + + diff --git a/src/components/settings/Presets/PresetsForm.vue b/src/components/settings/Presets/PresetsForm.vue new file mode 100644 index 000000000..1bb7ea460 --- /dev/null +++ b/src/components/settings/Presets/PresetsForm.vue @@ -0,0 +1,179 @@ + + + diff --git a/src/components/settings/Presets/PresetsFormCooldown.vue b/src/components/settings/Presets/PresetsFormCooldown.vue new file mode 100644 index 000000000..a56b54d11 --- /dev/null +++ b/src/components/settings/Presets/PresetsFormCooldown.vue @@ -0,0 +1,52 @@ + + + diff --git a/src/components/settings/SettingsPresetsTab.vue b/src/components/settings/SettingsPresetsTab.vue index cdfed2605..536f0359a 100644 --- a/src/components/settings/SettingsPresetsTab.vue +++ b/src/components/settings/SettingsPresetsTab.vue @@ -1,336 +1,69 @@ From 39fe81923dfd9bbfd6d0bc29da13e4c45f7fbe5b Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sun, 30 Jul 2023 00:28:26 +0200 Subject: [PATCH 2/2] fix: fix object name for temperature_fans Signed-off-by: Stefan Dej --- src/components/settings/Presets/PresetsForm.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/settings/Presets/PresetsForm.vue b/src/components/settings/Presets/PresetsForm.vue index 1bb7ea460..0db5c6b36 100644 --- a/src/components/settings/Presets/PresetsForm.vue +++ b/src/components/settings/Presets/PresetsForm.vue @@ -19,7 +19,7 @@
- +