diff --git a/src/components/ListPanel/contributors/ContributorsListPanel.vue b/src/components/ListPanel/contributors/ContributorsListPanel.vue index c6cabb85b..c51c35630 100644 --- a/src/components/ListPanel/contributors/ContributorsListPanel.vue +++ b/src/components/ListPanel/contributors/ContributorsListPanel.vue @@ -376,7 +376,7 @@ export default { openPreviewModal() { this.isLoading = true; - this.getAndUpdatePublication(); + this.getAndUpdatePublication(true); }, /** @@ -636,13 +636,17 @@ export default { * Update the publication in the background so that * any author strings are updated */ - getAndUpdatePublication() { + getAndUpdatePublication(openPreview = false) { $.ajax({ url: this.publicationApiUrl, context: this, type: 'GET', success(publication) { this.$emit('updated:publication', publication); + + if (openPreview) { + this.isModalOpenedPreview = true; + } }, complete() { this.isLoading = false;