Skip to content

Commit

Permalink
pkp/pkp-lib#10170 Updated component to extend the container
Browse files Browse the repository at this point in the history
(cherry picked from commit 0a41f61)
  • Loading branch information
jonasraoni committed Jul 14, 2024
1 parent 8a8de43 commit bc69385
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions src/components/Container/AdvancedSearchReviewerContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,20 @@
</div>
</div>
</div>
<SelectReviewerListPanel
v-bind="components.selectReviewer"
@set="updateReviewerList"
/>
<SelectReviewerListPanel v-bind="components.selectReviewer" @set="set" />
</div>
</template>

<script>
import Container from '@/components/Container/Container.vue';
import SelectReviewerListPanel from '@/components/ListPanel/users/SelectReviewerListPanel.vue';
export default {
name: 'AdvancedSearchReviewerContainer',
components: {
SelectReviewerListPanel,
},
extends: Container,
data() {
return {
showAllAuthors: false,
Expand Down Expand Up @@ -75,12 +74,6 @@ export default {
toggleShowAllAuthors() {
this.showAllAuthors = !this.showAllAuthors;
},
updateReviewerList(panelId, reviewersData) {
this.components.selectReviewer = {
...this.components.selectReviewer,
...reviewersData,
};
},
},
};
</script>
Expand Down

0 comments on commit bc69385

Please sign in to comment.