feat: implement FlowEditor component and add endpoint for user groups retrieval
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user