mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-04 06:01:59 +08:00
Fix secret-copy id (#2169)
This commit is contained in:
parent
c5530c17b3
commit
c768681e23
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ defmodule LivebookWeb.SessionLive.SecretsListComponent do
|
|||
*****
|
||||
</span>
|
||||
<button
|
||||
id={"session-secret-#{@secret.name}-delete"}
|
||||
id={"session-secret-#{@secret.name}-copy"}
|
||||
type="button"
|
||||
phx-click={JS.dispatch("lb:clipcopy", detail: %{content: @secret.value})}
|
||||
class="icon-button"
|
||||
|
@ -167,7 +167,7 @@ defmodule LivebookWeb.SessionLive.SecretsListComponent do
|
|||
*****
|
||||
</span>
|
||||
<button
|
||||
id={"session-secret-#{@secret.name}-delete"}
|
||||
id={"#{@id}-copy-button"}
|
||||
type="button"
|
||||
phx-click={JS.dispatch("lb:clipcopy", detail: %{content: @secret.value})}
|
||||
class="icon-button"
|
||||
|
|
Loading…
Reference in a new issue