Skip to content

Commit

Permalink
Update lib/kino/data_table.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko authored Oct 8, 2024
1 parent 205d0e3 commit ce31a7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/kino/data_table.ex
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ defmodule Kino.DataTable do
end

@impl true
def init({data_rows, data_columns, count, name, sorting_enabled, inspected, formatter, num_rows}) do
def init(
{data_rows, data_columns, count, name, sorting_enabled, inspected, formatter, num_rows}
) do
features = Kino.Utils.truthy_keys(pagination: true, sorting: sorting_enabled)
info = %{name: name, features: features, num_rows: num_rows}

Expand Down

0 comments on commit ce31a7d

Please sign in to comment.