Skip to content

Commit

Permalink
Merge pull request #1207 from NicoPennec/fix/pr
Browse files Browse the repository at this point in the history
Improve project search
  • Loading branch information
NicoPennec authored Sep 29, 2023
2 parents 3081a93 + a7e0968 commit 227b6a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/components/pages/OpenProductions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
'is-grid': openProductions && openProductions.length > 4
}"
>
<div
class="open-production has-text-centered"
v-if="!filteredProductions?.length"
>
{{ $t('main.search.no_result') }}
</div>
<div
class="open-production has-text-centered"
:key="production.id"
Expand Down Expand Up @@ -219,7 +225,6 @@ export default {
},
onSearchChange(search) {
console.log(search)
if (search === '') {
this.filteredProductions = this.openProductions
} else {
Expand Down
1 change: 0 additions & 1 deletion src/components/pages/TaskStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ export default {
watch: {
$route() {
console.log(this.$route.query)
this.activeTab = this.$route.query.tab || 'actived'
}
},
Expand Down
1 change: 0 additions & 1 deletion src/store/api/tasktypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export default {
department_id: taskType.department_id,
archived: taskType.archived === 'true'
}
console.log(data, taskType.archived)
if (taskType.priority && taskType.priority > 0) {
data.priority = Number(taskType.priority)
}
Expand Down

0 comments on commit 227b6a2

Please sign in to comment.