Skip to content

Commit

Permalink
Use attr.classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmil committed Nov 21, 2018
1 parent 3d5f379 commit fd885c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ STORAGE: NONE
RESTRICTION: == netstandard2.0
NUGET
remote: https://ci.appveyor.com/nuget/bolero
Bolero (0.1.38)
Bolero (0.1.39)
Elmish (>= 2.0)
FSharp.Core (>= 4.5)
Microsoft.AspNetCore.Blazor.Browser (>= 0.6)
Microsoft.AspNetCore.Http.Abstractions (>= 2.1)
Bolero.Build (0.1.38)
Bolero.Build (0.1.39)
remote: https://api.nuget.org/v3/index.json
Elmish (2.0.3)
FSharp.Core (>= 4.5.2)
Expand Down
2 changes: 1 addition & 1 deletion src/Bolero.TodoMVC.Client/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module Entry =
MasterTemplate.Entry()
.Label(text entry.Task)
.CssAttrs(
attr.``class`` <| String.concat " " [
attr.classes [
if entry.IsCompleted then yield "completed"
if entry.Editing.IsSome then yield "editing"
match endpoint, entry.IsCompleted with
Expand Down

0 comments on commit fd885c4

Please sign in to comment.