Skip to content

Commit 88f7dfa

Browse files
committed
add id
1 parent 216086f commit 88f7dfa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/live_debugger/app/debugger/web/components/elixir_display.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ defmodule LiveDebugger.App.Debugger.Web.Components.ElixirDisplay do
108108
<ol class="m-0 ml-[2ch] block list-none p-0">
109109
<li
110110
:for={{key, child} <- @node.children}
111+
id={if key, do: "#{@id}_#{key}", else: @id}
111112
class={"flex flex-col #{child_diff_class(@diff, key, @diff_class)}"}
112113
>
113114
<.static_term

0 commit comments

Comments
 (0)