Merge pull request #1344 from NoRedInk/fix-todo

use the column header in the non-interactive case
This commit is contained in:
Tessa 2023-04-04 13:52:08 -06:00 committed by GitHub
commit 83f92d0267
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -355,7 +355,7 @@ buildTableColumn maybeUpdateMsg maybeState (Column column) =
viewSortHeader (column.sorter /= Nothing) column.header maybeUpdateMsg state_ column.id
Nothing ->
Debug.todo "non-sorted header"
column.header
, view = column.view
, width = Css.px (toFloat column.width)
, cellStyles = column.cellStyles