Skip to content

Commit

Permalink
Merge pull request #3840 from PopulateTools/visualizations_routes
Browse files Browse the repository at this point in the history
Gobierto Visualizations / Changes routes and clear search
  • Loading branch information
ferblape authored Apr 23, 2021
2 parents 59e2507 + 9549f97 commit 2308085
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export default {
this.search = ''
EventBus.$emit('filtered-items', this.search)
EventBus.$emit('filtered-items-grouped', this.data)
EventBus.$emit('update-tab')
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ export default {
this.items = contracts
this.columns = assigneesShowColumns;
this.tableItems = this.items.map(d => ({ ...d, href: `${location.origin}${location.pathname}/${d.id}` } ))
this.tableItems = this.items.map(d => ({ ...d, href: `${location.origin}/visualizaciones/contratos/adjudicaciones/${d.id}` } ))
if (contracts.length > 0) {
const contract = contracts[0]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default {
.filter(contract => contract.assignee.toLowerCase()
.includes(this.value.toLowerCase()) || contract.title.toLowerCase()
.includes(this.value.toLowerCase()))
.map(d => ({ ...d, href: `${location.origin}${location.pathname}/${d.id}` } ))
.map(d => ({ ...d, href: `${location.origin}/visualizaciones/contratos/adjudicaciones/${d.id}` } ))
},
goesToTableItem(item) {
const { id: routingId } = item
Expand Down

0 comments on commit 2308085

Please sign in to comment.