mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-12-19 06:30:13 +08:00
Enforce string values in dynamic tables (#363)
* Enforce string values in dynamic tables * Explicitly convert values to string
This commit is contained in:
parent
494a5d6a1e
commit
137deeb12f
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ defmodule LivebookWeb.Output.TableDynamicLive do
|
||||||
<tr class="border-b border-gray-200 last:border-b-0 hover:bg-gray-50">
|
<tr class="border-b border-gray-200 last:border-b-0 hover:bg-gray-50">
|
||||||
<%= for column <- @columns do %>
|
<%= for column <- @columns do %>
|
||||||
<td class="py-3 px-6">
|
<td class="py-3 px-6">
|
||||||
<%= row.fields[column.key] %>
|
<%= to_string(row.fields[column.key]) %>
|
||||||
</td>
|
</td>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue