diff --git a/frontend/components/example/ActionMenu.vue b/frontend/components/example/ActionMenu.vue index 33b88cc5..47d39b8e 100644 --- a/frontend/components/example/ActionMenu.vue +++ b/frontend/components/example/ActionMenu.vue @@ -5,12 +5,13 @@ @create="$emit('create')" @upload="$emit('upload')" @download="$emit('download')" + @assign="$emit('assign')" /> diff --git a/frontend/pages/projects/_id/dataset/index.vue b/frontend/pages/projects/_id/dataset/index.vue index ee2ebc61..a66c2f04 100644 --- a/frontend/pages/projects/_id/dataset/index.vue +++ b/frontend/pages/projects/_id/dataset/index.vue @@ -4,6 +4,7 @@ + + + { + const url = `/projects/${projectId}/assignments/bulk_assign` + await this.request.post(url, workloadAllocation) + } }