diff --git a/src/components/RegisterPage.vue b/src/components/RegisterPage.vue
index 71f6383..de91a07 100644
--- a/src/components/RegisterPage.vue
+++ b/src/components/RegisterPage.vue
@@ -41,21 +41,31 @@
-
-
-
-
+
+
+
+
-
Selected color: {{ winner.color ? winner.color : '(none)' }}
+
Selected color: {{ winner.color ? winner.color : '(none)' }}
@@ -141,7 +151,7 @@ export default {
});
},
updateColorForWinner(winner, color) {
- winner.color = winner.color == color ? null : color
+ winner.color = winner.color == color ? null : color;
},
sendWines: async function() {
let _response = await fetch("/api/log/wines", {
@@ -206,7 +216,6 @@ export default {
parseInt(this.green) +
parseInt(this.yellow);
const stolen = sendObject.purchase.bought - parseInt(this.payed) / 10;
- console.log(sendObject.purchase.bought, this.payed);
if (isNaN(stolen) || stolen == undefined) {
alert("Betalt må registreres");
return;
@@ -351,11 +360,14 @@ hr {
&.green {
background: #c8f9df;
- }&.blue {
+ }
+ &.blue {
background: #d4f2fe;
- }&.red {
+ }
+ &.red {
background: #fbd7de;
- }&.yellow {
+ }
+ &.yellow {
background: #fff6d6;
}
}