File tree 2 files changed +6
-8
lines changed
2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ viewSuccess :
136
136
-> Html Msg
137
137
viewSuccess channel showNixOSDetails show hits =
138
138
ul []
139
- ( List . concatMap
139
+ ( List . map
140
140
( viewResultItem channel showNixOSDetails show)
141
141
hits
142
142
)
@@ -147,7 +147,7 @@ viewResultItem :
147
147
-> Bool
148
148
-> Maybe String
149
149
-> Search . ResultItem ResultItemSource
150
- -> List ( Html Msg )
150
+ -> Html Msg
151
151
viewResultItem channel _ show item =
152
152
let
153
153
showHtml value =
@@ -230,7 +230,7 @@ viewResultItem channel _ show item =
230
230
open =
231
231
SearchMsg ( Search . ShowDetails item. source. name)
232
232
in
233
- [ li
233
+ li
234
234
[ class " option"
235
235
, onClick open
236
236
, Search . elementId item. source. name
@@ -247,7 +247,6 @@ viewResultItem channel _ show item =
247
247
[ text item. source. name ]
248
248
]
249
249
)
250
- ]
251
250
252
251
253
252
Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ viewSuccess :
291
291
-> Html Msg
292
292
viewSuccess channel showNixOSDetails show hits =
293
293
ul []
294
- ( List . concatMap
294
+ ( List . map
295
295
( viewResultItem channel showNixOSDetails show)
296
296
hits
297
297
)
@@ -302,7 +302,7 @@ viewResultItem :
302
302
-> Bool
303
303
-> Maybe String
304
304
-> Search . ResultItem ResultItemSource
305
- -> List ( Html Msg )
305
+ -> Html Msg
306
306
viewResultItem channel showNixOSDetails show item =
307
307
let
308
308
cleanPosition =
@@ -516,7 +516,7 @@ viewResultItem channel showNixOSDetails show item =
516
516
open =
517
517
SearchMsg ( Search . ShowDetails item. source. attr_name)
518
518
in
519
- [ li
519
+ li
520
520
[ class " package"
521
521
, onClick open
522
522
, Search . elementId item. source. attr_name
@@ -531,7 +531,6 @@ viewResultItem channel showNixOSDetails show item =
531
531
, shortPackageDetails
532
532
]
533
533
)
534
- ]
535
534
536
535
537
536
You can’t perform that action at this time.
0 commit comments