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 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