diff --git a/templates/table/sortable-header.hamlet b/templates/table/sortable-header.hamlet index 1f358cbff..68a7806a4 100644 --- a/templates/table/sortable-header.hamlet +++ b/templates/table/sortable-header.hamlet @@ -1,12 +1,10 @@ -^{cellContents} $maybe flag <- sortableKey $case directions $of [SortAsc] - "-desc")}>desc - $of [SortDesc] - "-asc")}>asc - $of [] - "-desc")}>desc - "-asc")}>asc + "-desc")}> + ^{cellContents} $of _ + "-asc")}> + ^{cellContents} $nothing + ^{cellContents}