From: Benjamin Auder Date: Thu, 15 Apr 2021 10:33:06 +0000 (+0200) Subject: Fix options in preset challenges X-Git-Url: https://git.auder.net/doc/html/scripts/current/vendor/%3C?a=commitdiff_plain;h=c55f90a29815f68dc24a912370db8f6ff9360f8e;p=vchess.git Fix options in preset challenges --- diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index c3c81282..bdb28050 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -1134,7 +1134,7 @@ export default { alert(this.st.tr["Challenge already exists"]); return; } - if (this.newchallenge.memorize) this.addPresetChall(this.newchallenge); + if (this.newchallenge.memorize) this.addPresetChall(chall); delete chall["V"]; delete chall["diag"]; const finishAddChallenge = cid => {