Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
fix(admin): fix #65 - default filter to open proposals
Browse files Browse the repository at this point in the history
  • Loading branch information
vhf committed Oct 28, 2019
1 parent 0293e04 commit 37abdb3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/admin/AdminProposalList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export default {
return {
working: false,
statusDropdown: false,
statusFilter: 'all',
statusFilter: 'open',
orderBy: {
ID: false,
HEADLINE: false,
Expand All @@ -234,6 +234,9 @@ export default {
}
}
},
mounted () {
this.filterStatus(this.statusFilter)
},
methods: {
async approve ({ id, proposalType }) {
this.working = true
Expand Down

0 comments on commit 37abdb3

Please sign in to comment.