feat: implement FlowEditor component and add endpoint for user groups retrieval

This commit is contained in:
2026-05-04 04:18:15 +05:00
parent 4ddcaec7c8
commit 7161523d01
2 changed files with 17 additions and 12 deletions
+3 -1
View File
@@ -718,7 +718,9 @@ onMounted(async () => {
// Load groups for assignment
try {
const data = await $fetch('/api/groups')
const data = await $fetch('/api/user/groups', {
headers: authHeaders.value
})
groupsList.value = data.groups || []
} catch (e) {
console.error('Failed to load groups', e)