mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
* Add flash message when copy fails for copy button * Add flash message when copy fails for copy snippet * changelog * Fix config-ssh onError
17 lines
445 B
Handlebars
17 lines
445 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
~}}
|
|
|
|
<div class="console-ui-output">
|
|
<pre>{{this.columns}}</pre>
|
|
<Hds::Copy::Button
|
|
@text="Copy"
|
|
@isIconOnly={{true}}
|
|
@textToCopy={{this.columns}}
|
|
@onError={{(fn
|
|
(set-flash-message "Clipboard copy failed. Please make sure the browser Clipboard API is allowed." "danger")
|
|
)}}
|
|
class="transparent icon-grey-500 top-right-absolute"
|
|
/>
|
|
</div> |