diff --git a/public/js/components/models.js b/public/js/components/models.js index 68f6b40..8a8fe27 100644 --- a/public/js/components/models.js +++ b/public/js/components/models.js @@ -6,6 +6,21 @@ window.Components = window.Components || {}; window.Components.models = () => ({ + editingModelId: null, + newMapping: '', + + isEditing(modelId) { + return this.editingModelId === modelId; + }, + + startEditing(modelId) { + this.editingModelId = modelId; + }, + + stopEditing() { + this.editingModelId = null; + }, + init() { // Ensure data is fetched when this tab becomes active (skip initial trigger) this.$watch('$store.global.activeTab', (val, oldVal) => { diff --git a/public/views/settings.html b/public/views/settings.html index 6a8463f..63e3e76 100644 --- a/public/views/settings.html +++ b/public/views/settings.html @@ -243,7 +243,7 @@ -
Select a preset to load it. Click "Apply to Claude CLI" to save changes.
+Select a preset to load it. Click "Apply to Claude CLI" to save changes.
@@ -625,7 +625,7 @@
Your current configuration doesn't match any saved preset.
-
+