Skip to content

Commit

Permalink
fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
geektortoise committed Nov 9, 2021
1 parent 79046d7 commit af644fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/annotations/ListAnnotations.vue
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,10 @@ export default {
return this.selectedTagsIds.indexOf('null') >= 0;
},
collection() {
let users = (this.selectedAnnotationType === this.jobAnnotationOption) ? this.selectedUserJobs : this.selectedMembers;
let users = (this.selectedAnnotationType === this.jobAnnotationOption) ? this.userJobs : this.projectUsers;
let collection = new AnnotationCollection({
project: this.project.id,
terms: this.selectedTermsIds.length===this.termOptionsIds.length ? null : this.selectedTermsIds,
terms: this.selectedTermsIds.length===this.terms.length ? null : this.selectedTermsIds,
images: this.selectedImagesIds.length===this.images.length ? null : this.selectedImagesIds,
users: this.selectedUsersIds.length===users.length ? null : this.selectedUsersIds,
reviewed: this.reviewed,
Expand Down

0 comments on commit af644fe

Please sign in to comment.