Add a confirmation modal

This commit is contained in:
Pranav
2025-06-05 14:48:13 -05:00
parent c1eb7cda21
commit 270fbe99ea
3 changed files with 42 additions and 13 deletions
@@ -192,7 +192,7 @@ export default {
this.$emit('assignPriority', priority);
},
deleteConversation() {
this.$emit('deleteConversation');
this.$emit('deleteConversation', this.chatId);
},
show(key) {
// If the conversation status is same as the action, then don't display the option
@@ -298,7 +298,7 @@ export default {
<MenuItem
:option="deleteOption"
variant="icon"
@click.stop="deleteConversation()"
@click.stop="deleteConversation"
/>
</template>
</div>