refac: sidebar tag add behaviour

This commit is contained in:
Timothy J. Baek committed 2024-10-14 21:21:45 -07:00
1 parent 4c7651c113
commit d8a30bd6ae
4 files changed
+26 -7

No files matched your search

@@ -141,6 +141,13 @@
<div class="flex p-1">
<Tags
{chatId}
on:add={(e) => {
dispatch('tag', {
type: 'add',
name: e.detail.name
});
show = false;
}}
on:delete={(e) => {
dispatch('tag', {
type: 'delete',