From 31ccd7e3ef9bf4ebc69231527f78e24668631194 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Thu, 12 Mar 2020 12:14:37 +0100 Subject: [PATCH] Filter out Eightpieces from variants list for now --- client/src/store.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/store.js b/client/src/store.js index 668f999d..8fe46b90 100644 --- a/client/src/store.js +++ b/client/src/store.js @@ -30,8 +30,9 @@ export const store = { alert("Variants loading failed: reload the page"); return; } - this.state.variants = json.variantArray.sort( - (v1,v2) => v1.name.localeCompare(v2.name)); + this.state.variants = json.variantArray + .filter(v => v.name != "Eightpieces") //TODO: not ready yet + .sort((v1,v2) => v1.name.localeCompare(v2.name)); }); let mysid = localStorage.getItem("mysid"); // Assign mysid only once (until next time user clear browser data) -- 2.44.0