From cbc158f4779b24d6272376d737623cd9970ddf2b Mon Sep 17 00:00:00 2001
From: arabcoders
Date: Mon, 31 Mar 2025 03:10:41 +0300
Subject: [PATCH] Fix preset import output template
---
ui/components/PresetForm.vue | 2 +-
ui/pages/presets.vue | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/components/PresetForm.vue b/ui/components/PresetForm.vue
index aedbd1d2..ba9447db 100644
--- a/ui/components/PresetForm.vue
+++ b/ui/components/PresetForm.vue
@@ -444,7 +444,7 @@ const importItem = async () => {
}
if (item.template) {
- form.template = item.output_template
+ form.template = item.template
}
if (item.folder) {
diff --git a/ui/pages/presets.vue b/ui/pages/presets.vue
index cfc097ea..2b831b07 100644
--- a/ui/pages/presets.vue
+++ b/ui/pages/presets.vue
@@ -76,8 +76,8 @@ div.is-centered {
The preset is using deprecated options. It is recommended to update the preset to use the
new options. It will cease to work in future versions.
-
+