diff --git a/pages/contribution/contribution-form.vue b/pages/contribution/contribution-form.vue index 68fad5b..5efe773 100644 --- a/pages/contribution/contribution-form.vue +++ b/pages/contribution/contribution-form.vue @@ -65,6 +65,7 @@ :error-messages=" content.length === 0 ? [$root.lang('database.subtitles.no_contributor_yet')] : [] " + @newUsers="(l) => this.$emit('newUser', l) " /> diff --git a/pages/contribution/contribution-modal.vue b/pages/contribution/contribution-modal.vue index c4031a8..da5ee25 100644 --- a/pages/contribution/contribution-modal.vue +++ b/pages/contribution/contribution-modal.vue @@ -50,7 +50,7 @@ {{ panelLabels[form.formId] }} - {{ contributorsFromIds(form.authors) }} + {{ formAuthorNames[form.formId] || '...' }} {{ $root.lang("database.subtitles.no_contributor_yet") }} @@ -101,11 +101,17 @@ :disabled="activeForm === undefined" :contributors="contributors" :multiple="multiple" + @newUser=" + (l) => { + this.contributors = l; + } + " />