Fix 8-pieces
[vchess.git] / client / src / views / Hall.vue
index 61e809e..b7199a7 100644 (file)
@@ -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 || []) {
@@ -1480,8 +1480,8 @@ div#peopleWrap > .card
 
 #chat > .card
   max-width: 100%
-  margin: 0;
-  border: none;
+  margin: 0
+  border: none
 
 #players > p
   margin-left: 5px