Skip to content

Commit 9440aa8

Browse files
committed
Allow refinement finish when there are no votes
All votes or no votes are the two states in which finishing is fine.
1 parent 964a2d1 commit 9440aa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/Refinement.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default {
1616
},
1717
methods: {
1818
done() {
19-
if ( this.voteCount !== this.members.voters.length ) {
19+
if ( this.voteCount > 0 && this.voteCount !== this.members.voters.length ) {
2020
if ( ! window.confirm( "Are you sure you want to finish the refinement, not all votes are in yet." ) ) {
2121
return;
2222
}

0 commit comments

Comments
 (0)