From 9804f90b3caec5ffe0fec6631f1459b24d6d04b1 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Fri, 7 May 2021 23:33:23 +0200 Subject: [PATCH] Attempt to fix sending challenges... --- client/src/views/Hall.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 || []) { -- 2.44.0