From: Benjamin Auder Date: Fri, 7 May 2021 21:33:23 +0000 (+0200) Subject: Attempt to fix sending challenges... X-Git-Url: https://git.auder.net/%7B%7B%20asset%28%27mixstore/images/scripts/doc/DESCRIPTION?a=commitdiff_plain;h=9804f90b3caec5ffe0fec6631f1459b24d6d04b1;p=vchess.git Attempt to fix sending challenges... --- diff --git a/client/src/views/Hall.vue b/client/src/views/Hall.vue index 61e809e1..707debe3 100644 --- a/client/src/views/Hall.vue +++ b/client/src/views/Hall.vue @@ -1098,7 +1098,7 @@ export default { } window.V = this.newchallenge.V; let chall = Object.assign({}, this.newchallenge); - if (!this.newchallenge.options) chall.options = { options: {} }; + if (!this.newchallenge.fromPreset) chall.options = { options: {} }; if (V.Options && !this.newchallenge.fromPreset) { // Get/set options variables (if any) / TODO: v-model?! for (const check of this.newchallenge.V.Options.check || []) {