mirror of
https://github.com/ArenMg/aren.git
synced 2024-12-23 07:19:46 +00:00
disable multiple votes
This commit is contained in:
parent
1af9d864dd
commit
19361ed96f
1 changed files with 1 additions and 5 deletions
|
@ -199,7 +199,7 @@ module.exports = {
|
||||||
return {
|
return {
|
||||||
currentTheme: false,
|
currentTheme: false,
|
||||||
choicesValue: false,
|
choicesValue: false,
|
||||||
showVote: true, //Change this when check alredy make vote is avalaible in ws
|
showVote: false,
|
||||||
series: [],
|
series: [],
|
||||||
chartOptions: {
|
chartOptions: {
|
||||||
colors: [
|
colors: [
|
||||||
|
@ -317,9 +317,6 @@ module.exports = {
|
||||||
(e) => e.title
|
(e) => e.title
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
|
||||||
* Uncomment this when check alredy make vote is avalaible in ws
|
|
||||||
*
|
|
||||||
for (const choice of theme.data.choices) {
|
for (const choice of theme.data.choices) {
|
||||||
for (const vote of choice.votes) {
|
for (const vote of choice.votes) {
|
||||||
const authId = vote.authorId;
|
const authId = vote.authorId;
|
||||||
|
@ -340,7 +337,6 @@ module.exports = {
|
||||||
}
|
}
|
||||||
this.showVote = true;
|
this.showVote = true;
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
alert(
|
alert(
|
||||||
"ERREUR INTERNE\n\nToutes nos excuses, une erreur s'est produite sur nos serveurs.\nVeuillez réessayer ou contacter un administrateur si l'erreur persiste."
|
"ERREUR INTERNE\n\nToutes nos excuses, une erreur s'est produite sur nos serveurs.\nVeuillez réessayer ou contacter un administrateur si l'erreur persiste."
|
||||||
|
|
Loading…
Reference in a new issue