From 078c68764be9ef0eb51339b28f37f0d91cd8275b Mon Sep 17 00:00:00 2001 From: Yannik Sander Date: Fri, 31 Dec 2021 16:37:02 +0100 Subject: [PATCH] Ignore result data (#407) --- src/Main.elm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Main.elm b/src/Main.elm index e9508cf..17a9840 100644 --- a/src/Main.elm +++ b/src/Main.elm @@ -37,6 +37,7 @@ import Search exposing (defaultFlakeId) import Search exposing (channels) import Html exposing (sup) import Html exposing (small) +import RemoteData exposing (RemoteData(..)) @@ -192,16 +193,16 @@ pageMatch m1 m2 = True ( Packages model_a, Packages model_b ) -> - {model_a | show = Nothing } == {model_b | show = Nothing} + {model_a | show = Nothing, result = NotAsked } == {model_b | show = Nothing, result = NotAsked} ( Options model_a, Options model_b ) -> - {model_a | show = Nothing } == {model_b | show = Nothing} + {model_a | show = Nothing, result = NotAsked } == {model_b | show = Nothing, result = NotAsked} ( Flakes (OptionModel model_a), Flakes (OptionModel model_b) ) -> - {model_a | show = Nothing } == {model_b | show = Nothing} + {model_a | show = Nothing, result = NotAsked } == {model_b | show = Nothing, result = NotAsked} ( Flakes (PackagesModel model_a), Flakes (PackagesModel model_b) ) -> - {model_a | show = Nothing } == {model_b | show = Nothing} + {model_a | show = Nothing, result = NotAsked } == {model_b | show = Nothing, result = NotAsked} _ -> False