Update terminology
This commit is contained in:
@@ -85,7 +85,7 @@ viewSearchResult result =
|
|||||||
, a [ href ("https://github.com/" ++ result.name), target "_blank" ]
|
, a [ href ("https://github.com/" ++ result.name), target "_blank" ]
|
||||||
[ text result.name ]
|
[ text result.name ]
|
||||||
, button
|
, button
|
||||||
-- TODO add an onClick handler that sends a DeleteById action
|
-- TODO add an onClick handler that sends a DeleteById msg
|
||||||
[ class "hide-result" ]
|
[ class "hide-result" ]
|
||||||
[ text "X" ]
|
[ text "X" ]
|
||||||
]
|
]
|
||||||
@@ -93,8 +93,8 @@ viewSearchResult result =
|
|||||||
|
|
||||||
update : Msg -> Model -> Model
|
update : Msg -> Model -> Model
|
||||||
update msg model =
|
update msg model =
|
||||||
-- TODO if we get a SetQuery action, use it to set the model's query field,
|
-- TODO if we get a SetQuery msg, use it to set the model's query field,
|
||||||
-- and if we get a DeleteById action, delete the appropriate result
|
-- and if we get a DeleteById msg, delete the appropriate result
|
||||||
model
|
model
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user