mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-06 11:35:54 +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>
|
</span>
|
||||||
<button
|
<button
|
||||||
id={"session-secret-#{@secret.name}-delete"}
|
id={"session-secret-#{@secret.name}-copy"}
|
||||||
type="button"
|
type="button"
|
||||||
phx-click={JS.dispatch("lb:clipcopy", detail: %{content: @secret.value})}
|
phx-click={JS.dispatch("lb:clipcopy", detail: %{content: @secret.value})}
|
||||||
class="icon-button"
|
class="icon-button"
|
||||||
|
@ -167,7 +167,7 @@ defmodule LivebookWeb.SessionLive.SecretsListComponent do
|
||||||
*****
|
*****
|
||||||
</span>
|
</span>
|
||||||
<button
|
<button
|
||||||
id={"session-secret-#{@secret.name}-delete"}
|
id={"#{@id}-copy-button"}
|
||||||
type="button"
|
type="button"
|
||||||
phx-click={JS.dispatch("lb:clipcopy", detail: %{content: @secret.value})}
|
phx-click={JS.dispatch("lb:clipcopy", detail: %{content: @secret.value})}
|
||||||
class="icon-button"
|
class="icon-button"
|
||||||
|
|
Loading…
Add table
Reference in a new issue