Ignore result data (#407)

This commit is contained in:
Yannik Sander 2021-12-31 16:37:02 +01:00 committed by GitHub
parent 5d965dd10c
commit 078c68764b
Failed to generate hash of commit

View file

@ -37,6 +37,7 @@ import Search exposing (defaultFlakeId)
import Search exposing (channels) import Search exposing (channels)
import Html exposing (sup) import Html exposing (sup)
import Html exposing (small) import Html exposing (small)
import RemoteData exposing (RemoteData(..))
@ -192,16 +193,16 @@ pageMatch m1 m2 =
True True
( Packages model_a, Packages model_b ) -> ( 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 ) -> ( 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) ) -> ( 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) ) -> ( 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 False