Agent Zero AI framework
extend confirmClick coverage
3clyp5004cd6f638bf4
diff --git a/webui/components/modals/full-screen-input/full-screen-input.html b/webui/components/modals/full-screen-input/full-screen-input.htmlindex 0cd403a40..c3aa1cb9f 100644--- a/webui/components/modals/full-screen-input/full-screen-input.html+++ b/webui/components/modals/full-screen-input/full-screen-input.html@@ -33,7 +33,7 @@</button></div><div class="toolbar-group">- <button class="toolbar-button" @click="$store.fullScreenInputModal.clearText()" title="Clear Text">+ <button class="toolbar-button" @click="$confirmClick($event, () => $store.fullScreenInputModal.clearText())" title="Clear Text"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2"></path><line x1="10" y1="11" x2="10" y2="17"></line>diff --git a/webui/components/sidebar/tasks/tasks-list.html b/webui/components/sidebar/tasks/tasks-list.htmlindex ad0ef07d3..3d53a497d 100644--- a/webui/components/sidebar/tasks/tasks-list.html+++ b/webui/components/sidebar/tasks/tasks-list.html@@ -45,7 +45,7 @@<span class="material-symbols-outlined">Info</span></button><button class="btn-icon-action" title="Clear task chat"- @click.stop="$store.tasks.reset(task.id)">+ @click.stop="$confirmClick($event, () => $store.tasks.reset(task.id))"><span class="material-symbols-outlined">delete_sweep</span></button><button class="btn-icon-action" title="Delete task" @click.stop="$confirmClick($event, () => $store.tasks.deleteTask(task.id))">