Skip to content

Commit a8add25

Browse files
committed
bumped version
1 parent 6d912f3 commit a8add25

File tree

6 files changed

+19
-20
lines changed

6 files changed

+19
-20
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "evs",
3-
"version": "0.12.0",
3+
"version": "0.12.4",
44
"author": "Tomas Alejandro V. Falgui III <tomyfalguiiii@yahoo.com>",
55
"description": "A customizable Electronic Voting System",
66
"license": "MIT",

src/renderer/components/Add/AddSettings.vue

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,6 @@ export default {
8181
secretary,
8282
treasurer
8383
}) => {
84-
console.log(
85-
lsp,
86-
party_name,
87-
president,
88-
vice_president,
89-
secretary,
90-
treasurer
91-
)
9284
let p, vp, s, treas, ls
9385
/// STILL DOESNT WORK FIX NULL HANDLE MOST IMPORTANT
9486
p =
@@ -126,7 +118,6 @@ export default {
126118
points: 0
127119
}
128120
: false
129-
console.log(p, vp, s, treas, ls)
130121
return {
131122
lsp: ls,
132123
party_name: party_name,

src/renderer/components/Confirmation.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,13 @@ export default {
9393
this.$store.commit(this.$const.CONFIRM_VOTES, {
9494
confirmedParty
9595
})
96-
this.$store.commit(this.$const.FETCH_PARTY_GROUP)
97-
this.$firedb.ref().push(confirmedParty)
96+
this.$store.commit(this.$const.FETCH_PARTY_GROUP)
97+
try {
98+
99+
this.$firedb.ref().push(confirmedParty)
100+
} catch (error) {
101+
console.error(error)
102+
}
98103
}
99104
}
100105
}

src/renderer/components/Login.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="right-side">
44
<h1 id="h1ofright">DPS Electronic Voting System</h1>
55
<p>A project of the DPS Comelec</p>
6-
<el-tag>v0.12.0</el-tag>
6+
<el-tag>v0.12.4</el-tag>
77
</div>
88
<div class="login">
99
<svg viewBox="0 0 1779 274" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414" class="svgbaby"><path d="M29.395 240C-110.804 215.219 290.284 0 396.638 0c106.355 0 166.664 240 270.885 240S913.924 0 1021.964 0c108.039 0 205.297 240 293.794 240 88.498 0 164.081-240 237.193-240 73.112 0 298.878 224.657 201.478 240-253.926 40-1498.74 40-1725.03 0z" fill="#dcdfe6"/><path d="M252.359 272.12c-166.883-8.354 341.188-240 468.32-240 121.659 0 190.248 240 294.469 240s232.924-240 330.856-240c97.932 0 368.271 247.805 256.734 240-182.311-12.756-1199.19 7.569-1350.38 0z" fill="#ebeef5"/></svg>
@@ -75,7 +75,6 @@ export default {
7575
mounted() {
7676
//this.$store.commit(this.$const.CLEAR_SELECTED_PARTY)
7777
this.getParties()
78-
7978
}
8079
}
8180
</script>

src/renderer/components/Voting.vue

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,23 +137,28 @@ export default {
137137
this.$store.commit(this.$const.VOTE_FIRST, {
138138
president: {
139139
abstain: president === 'abstain' && true,
140-
value: president
140+
value: president,
141+
position: 'president'
141142
},
142143
vice_president: {
143144
abstain: vice_president === 'abstain' && true,
144-
value: vice_president
145+
value: vice_president,
146+
position: 'vice_president'
145147
},
146148
secretary: {
147149
abstain: secretary === 'abstain' && true,
148-
value: secretary
150+
value: secretary,
151+
position: 'secretary'
149152
},
150153
treasurer: {
151154
abstain: treasurer === 'abstain' && true,
152-
value: treasurer
155+
value: treasurer,
156+
position: 'treasurer'
153157
},
154158
lsp: {
155159
abstain: lsp === 'abstain' && true,
156-
value: lsp
160+
value: lsp,
161+
position: 'lsp'
157162
},
158163
id: party_group.id
159164
})

src/renderer/store/modules/VoterLogin.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ const mutations = {
5252
.find({ id })
5353
.get(name)
5454
.value()
55-
console.log(ifPoints)
5655

5756
if (!isNaN(ifPoints)) {
5857
db

0 commit comments

Comments
 (0)