mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Copy button added to variables title (#17935)
This commit is contained in:
3
.changelog/17935.txt
Normal file
3
.changelog/17935.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:improvement
|
||||
ui: added a button to copy variable path to clipboard
|
||||
```
|
||||
@@ -24,6 +24,10 @@
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
}
|
||||
.copy-button {
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.new-variables {
|
||||
|
||||
@@ -7,6 +7,12 @@
|
||||
<div>
|
||||
<FlightIcon @name="file-text" />
|
||||
{{this.model.path}}
|
||||
<CopyButton
|
||||
@inset={{true}}
|
||||
@compact={{true}}
|
||||
@clipboardText={{this.model.path}}
|
||||
/>
|
||||
|
||||
<Toggle
|
||||
{{keyboard-shortcut
|
||||
label="Toggle View (JSON/List)"
|
||||
|
||||
Reference in New Issue
Block a user