Skip to content

Commit

Permalink
commented out logic to prevent duplicates in generic filter list per …
Browse files Browse the repository at this point in the history
…Wayne's request
  • Loading branch information
capetillo committed Dec 21, 2023
1 parent 848f688 commit 08d4b2f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/projects/CreateProjectForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@
---- Generic Filters ----
</option>
<option
v-for="filter in generic_filters_no_duplicates"
v-for="filter in generic_filter_list"
:key="filter"
:value="filter"
>
Expand Down Expand Up @@ -1386,9 +1386,10 @@ export default {
},
// Return the generic filter list without filters already reported by sites.
generic_filters_no_duplicates () {
return this.generic_filter_list.filter(item => this.project_filter_list.indexOf(item) < 0)
},
// For now, Wayne said it's okay to have duplicates
// generic_filters_no_duplicates () {
// return this.generic_filter_list.filter(item => this.project_filter_list.indexOf(item) < 0)
// },
// True if we're modifying a project and the name is changed.
project_name_changed () {
Expand Down

0 comments on commit 08d4b2f

Please sign in to comment.