Skip to content

Commit

Permalink
fix: dont set Loading on GotoPage
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Jan 19, 2024
1 parent ee6de5a commit b706de1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/elm/Pages/Org_/Repo_.elm
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ update shared route msg model =
)

GotoPage pageNumber ->
( { model | builds = RemoteData.Loading }
( model
, Effect.batch
[ Effect.pushRoute
{ path = route.path
Expand Down
3 changes: 1 addition & 2 deletions src/elm/Pages/Org_/Repo_/Deployments_.elm
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import List
import Page exposing (Page)
import RemoteData exposing (RemoteData(..), WebData)
import Route exposing (Route)
import Route.Path
import Shared
import Svg.Attributes
import Utils.Errors as Errors
Expand Down Expand Up @@ -127,7 +126,7 @@ update shared route msg model =
)

GotoPage pageNumber ->
( { model | deployments = RemoteData.Loading }
( model
, Effect.batch
[ Effect.replaceRoute
{ path = route.path
Expand Down

0 comments on commit b706de1

Please sign in to comment.