Skip to content

Commit

Permalink
fix: @n1k0 review
Browse files Browse the repository at this point in the history
  • Loading branch information
vjousse committed Oct 7, 2024
1 parent bd32339 commit 3a292fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Page/Object.elm
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ findExistingBookmarkName { store } query =
store.bookmarks
|> Bookmark.findByObjectQuery query
|> Maybe.map .name
|> Maybe.withDefault (query |> Query.toString)
|> Maybe.withDefault (Query.toString query)


updateQuery : Query -> ( Model, Session, Cmd Msg ) -> ( Model, Session, Cmd Msg )
Expand Down
4 changes: 2 additions & 2 deletions src/Views/Comparator.elm
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ addToComparison session label query =
objectQuery
|> ObjectSimulator.compute session.db
|> Result.map
(\_ ->
(\impacts ->
{ complementsImpact = Impact.noComplementsImpacts
, impacts = Impact.empty
, impacts = impacts
, label = label
, stepsImpacts = Impact.noStepsImpacts
}
Expand Down

0 comments on commit 3a292fe

Please sign in to comment.