extend confirmClick coverage
3clyp50 committed
Jan 6, 2026 at 02:20 UTC
04cd6f638bf4bd28032f9ffeb925ca39719eee41
2 files changed
+2
-2
webui/components/modals/full-screen-input/full-screen-input.html
+1
-1
@@ -33,7 +33,7 @@
33
</button>
34
</div>
35
<div class="toolbar-group">
36
- <button class="toolbar-button" @click="$store.fullScreenInputModal.clearText()" title="Clear Text">
36
+ <button class="toolbar-button" @click="$confirmClick($event, () => $store.fullScreenInputModal.clearText())" title="Clear Text">
37
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
38
<path d="M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2"></path>
39
<line x1="10" y1="11" x2="10" y2="17"></line>
webui/components/sidebar/tasks/tasks-list.html
+1
-1
@@ -45,7 +45,7 @@
45
<span class="material-symbols-outlined">Info</span>
46
</button>
47
<button class="btn-icon-action" title="Clear task chat"
48
- @click.stop="$store.tasks.reset(task.id)">
48
+ @click.stop="$confirmClick($event, () => $store.tasks.reset(task.id))">
49
<span class="material-symbols-outlined">delete_sweep</span>
50
</button>
51
<button class="btn-icon-action" title="Delete task" @click.stop="$confirmClick($event, () => $store.tasks.deleteTask(task.id))">