Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit 02339bb

Browse files
authored
Merge pull request #143 from codewizardshq/styles-and-copy2
fix counter
2 parents fe7011b + d59bd9e commit 02339bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/Voting/BallotLeaders.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export default {
7474
for (const [key, value] of Object.entries(result)) {
7575
Vue.set(this.pageData, key, value);
7676
}
77+
this.$emit("input", this.pageData.items.length);
7778
this.pageData.items = this.pageData.items
7879
.sort((a, b) => {
7980
return a.numVotes < b.numVotes;
@@ -82,7 +83,6 @@ export default {
8283
resolve();
8384
}, 1000)
8485
);
85-
this.$emit("input", this.pageData.items.length);
8686
},
8787
async loadPage() {
8888
this.requestCount++;

0 commit comments

Comments
 (0)