From ce31a7df2fe2821424a70a947eaaeae678b552b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Tue, 8 Oct 2024 19:31:37 +0200 Subject: [PATCH] Update lib/kino/data_table.ex --- lib/kino/data_table.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/kino/data_table.ex b/lib/kino/data_table.ex index f25a7fa6..89d49fa6 100644 --- a/lib/kino/data_table.ex +++ b/lib/kino/data_table.ex @@ -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}