feat: notification on mentions

This commit is contained in:
Jannat Patel
2024-05-23 21:25:22 +05:30
parent f38aebbc9c
commit a748e2c2db
8 changed files with 212 additions and 40 deletions

View File

@@ -151,7 +151,16 @@ const newReplyResource = createResource({
})
const mentionUsers = computed(() => {
return allUsers.data /* [{
console.log(allUsers.data['jannat@frappe.io'])
let users = Object.values(allUsers.data).map((user) => {
return {
value: user.name,
label: user.full_name,
}
})
return users
/* [{
label: "jannat",
value: "jannat"
}, {