Browse Source

Merge pull request #2142 from doccano/fix/member-creation-form

Set default role name
pull/2143/head
Hiroki Nakayama 1 year ago
committed by GitHub
parent
commit
e01f478c22
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. 6
      frontend/pages/projects/_id/members/index.vue

6
frontend/pages/projects/_id/members/index.vue

@ -30,8 +30,8 @@
<script lang="ts">
import Vue from 'vue'
import MemberList from '@/components/member/MemberList.vue'
import FormDelete from '@/components/member/FormDelete.vue'
import MemberList from '@/components/member/MemberList.vue'
import FormCreate from '~/components/member/FormCreate.vue'
import { MemberDTO } from '~/services/application/member/memberData'
@ -56,13 +56,13 @@ export default Vue.extend({
user: -1,
role: -1,
username: '',
rolename: ''
rolename: 'annotator'
} as MemberDTO,
defaultItem: {
user: -1,
role: -1,
username: '',
rolename: ''
rolename: 'annotator'
} as MemberDTO,
items: [] as MemberDTO[],
selected: [] as MemberDTO[],

Loading…
Cancel
Save