Skip to content

Agent Zero AI framework

conform settings modal footer

Alessandro43cc250d44f0
diff --git a/webui/components/settings/settings.html b/webui/components/settings/settings.html
index 8e5ac124d..562cc938d 100644
--- a/webui/components/settings/settings.html
+++ b/webui/components/settings/settings.html
@@ -84,22 +84,22 @@
</template>
</div>
+ <!-- Footer -->
+ <div class="modal-footer" data-modal-footer x-show="$store.settingsStore.settings">
+ <button class="btn btn-ok"
+ @click="$store.settingsStore.saveSettings()"
+ :disabled="$store.settingsStore?.isLoading">
+ Save
+ </button>
+ <button class="btn btn-cancel"
+ @click="$store.settingsStore.closeSettings()">
+ Cancel
+ </button>
+ </div>
+
</div>
</template>
</div>
-
-<!-- Modal footer via data-modal-footer -->
-<div data-modal-footer>
- <button class="btn btn-ok"
- @click="$store.settingsStore.saveSettings()"
- :disabled="$store.settingsStore?.isLoading">
- Save
- </button>
- <button class="btn btn-cancel"
- @click="$store.settingsStore.closeSettings()">
- Cancel
- </button>
-</div>
</body>
</html>