From 7fb9f248ef74c07943d2b9a863d92264053f300e Mon Sep 17 00:00:00 2001
From: Przemek Kaminski <pk@intrepidus.pl>
Date: Tue, 19 Nov 2019 20:41:58 +0100
Subject: [PATCH] [Graph] fix show/hide edges bug when fa not running

---
 src/Gargantext/Hooks/Sigmax.purs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Gargantext/Hooks/Sigmax.purs b/src/Gargantext/Hooks/Sigmax.purs
index 20c63058..4841aeba 100644
--- a/src/Gargantext/Hooks/Sigmax.purs
+++ b/src/Gargantext/Hooks/Sigmax.purs
@@ -321,7 +321,7 @@ setEdges sigma val = do
   -- prevent showing edges (via show edges button) when FA is running (flickering)
   isFARunning <- Sigma.isForceAtlas2Running sigma
   case Tuple val isFARunning of
-    Tuple false true ->
+    Tuple false _ ->
       Sigma.setSettings sigma settings
     Tuple true false ->
       Sigma.setSettings sigma settings
-- 
2.21.0