Skip to content

Agent Zero AI framework

confirm handler for restart btn

3clyp50211e9ac3bf5d
diff --git a/webui/components/sidebar/top-section/quick-actions.html b/webui/components/sidebar/top-section/quick-actions.html
index 30927ee08..0639a8630 100644
--- a/webui/components/sidebar/top-section/quick-actions.html
+++ b/webui/components/sidebar/top-section/quick-actions.html
@@ -94,7 +94,7 @@
<div class="dropdown-separator"></div>
- <button class="dropdown-item" @click="$store.chats.restart(); dropdownOpen = false">
+ <button class="dropdown-item" @click="$confirmClick($event, () => { $store.chats.restart(); dropdownOpen = false })">
<span class="material-symbols-outlined">restart_alt</span>
<span>Restart A0</span>
</button>